CodeIgniter v4.5 API

DebugTraceableTrait

This trait provides framework exceptions the ability to pinpoint accurately where the exception was raised rather than instantiated.

This is used primarily for factory-instantiated exceptions.

Table of Contents

Methods

__construct()  : mixed
Tweaks the exception's constructor to assign the file/line to where it is actually raised rather than were it is instantiated.

Methods

__construct()

Tweaks the exception's constructor to assign the file/line to where it is actually raised rather than were it is instantiated.

public final __construct([string $message = '' ][, int $code = 0 ][, Throwable|null $previous = null ]) : mixed
Parameters
$message : string = ''
$code : int = 0
$previous : Throwable|null = null

        
On this page

Search results