CodeIgniter v4.5 API

ViewException extends FrameworkException
in package

Class FrameworkException

A collection of exceptions thrown by the framework that can only be determined at run time.

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.
forCopyError()  : static
forEnabledZlibOutputCompression()  : static
forFabricatorCreateFailed()  : static
forInvalidCellClass()  : static
forInvalidCellMethod()  : static
forInvalidCellParameter()  : static
forInvalidDecorator()  : static
forInvalidDirectory()  : static
forInvalidFile()  : static
forMissingCellParameters()  : static
forMissingExtension()  : static
forNoCellClass()  : static
forNoHandlers()  : static
forTagSyntaxError()  : static

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

forCopyError()

public static forCopyError(string $path) : static
Parameters
$path : string
Return values
static

forEnabledZlibOutputCompression()

public static forEnabledZlibOutputCompression() : static
Return values
static

forFabricatorCreateFailed()

public static forFabricatorCreateFailed(string $table, string $reason) : static
Parameters
$table : string
$reason : string
Return values
static

forInvalidCellClass()

public static forInvalidCellClass([string|null $class = null ]) : static
Parameters
$class : string|null = null
Return values
static

forInvalidCellMethod()

public static forInvalidCellMethod(string $class, string $method) : static
Parameters
$class : string
$method : string
Return values
static

forInvalidCellParameter()

public static forInvalidCellParameter(string $key) : static
Parameters
$key : string
Return values
static

forInvalidDecorator()

public static forInvalidDecorator(string $className) : static
Parameters
$className : string
Return values
static

forInvalidDirectory()

public static forInvalidDirectory(string $path) : static
Parameters
$path : string
Return values
static

forInvalidFile()

public static forInvalidFile(string $path) : static
Parameters
$path : string
Return values
static

forMissingCellParameters()

public static forMissingCellParameters(string $class, string $method) : static
Parameters
$class : string
$method : string
Return values
static

forMissingExtension()

public static forMissingExtension(string $extension) : static

No longer used.

Parameters
$extension : string
Return values
static

forNoCellClass()

public static forNoCellClass() : static
Return values
static

forNoHandlers()

public static forNoHandlers(string $class) : static
Parameters
$class : string
Return values
static

forTagSyntaxError()

public static forTagSyntaxError(string $output) : static
Parameters
$output : string
Return values
static

        
On this page

Search results