Documentation

ModelException extends FrameworkException
in package

Model Exceptions.

Table of Contents

__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()  : mixed
forEnabledZlibOutputCompression()  : mixed
forFabricatorCreateFailed()  : mixed
forInvalidFile()  : mixed
forMissingExtension()  : mixed
forNoDateFormat()  : mixed
forNoHandlers()  : mixed
forNoPrimaryKey()  : mixed

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[, Throwable|null $previous = null ]) : mixed
Parameters
$message : string = ''
$code : int
$previous : Throwable|null = null
Return values
mixed

forCopyError()

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

forEnabledZlibOutputCompression()

public static forEnabledZlibOutputCompression() : mixed
Return values
mixed

forFabricatorCreateFailed()

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

forInvalidFile()

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

forMissingExtension()

public static forMissingExtension(string $extension) : mixed
Parameters
$extension : string
Return values
mixed

forNoDateFormat()

public static forNoDateFormat(string $modelName) : mixed
Parameters
$modelName : string
Return values
mixed

forNoHandlers()

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

forNoPrimaryKey()

public static forNoPrimaryKey(string $modelName) : mixed
Parameters
$modelName : string
Return values
mixed

Search results