SessionException
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
- forEmptySavepath() : mixed
- forEnabledZlibOutputCompression() : static
- forFabricatorCreateFailed() : static
- forInvalidDirectory() : static
- forInvalidFile() : static
- forInvalidSameSiteSetting() : mixed
- forInvalidSavePath() : mixed
- forInvalidSavePathFormat() : mixed
- forMissingDatabaseTable() : mixed
- forMissingExtension() : static
- forNoHandlers() : static
- forWriteProtectedSavePath() : 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 = 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
staticforEmptySavepath()
public
static forEmptySavepath() : mixed
forEnabledZlibOutputCompression()
public
static forEnabledZlibOutputCompression() : static
Return values
staticforFabricatorCreateFailed()
public
static forFabricatorCreateFailed(string $table, string $reason) : static
Parameters
- $table : string
- $reason : string
Return values
staticforInvalidDirectory()
public
static forInvalidDirectory(string $path) : static
Parameters
- $path : string
Return values
staticforInvalidFile()
public
static forInvalidFile(string $path) : static
Parameters
- $path : string
Return values
staticforInvalidSameSiteSetting()
public
static forInvalidSameSiteSetting(string $samesite) : mixed
Parameters
- $samesite : string
Tags
forInvalidSavePath()
public
static forInvalidSavePath([string|null $path = null ]) : mixed
Parameters
- $path : string|null = null
forInvalidSavePathFormat()
public
static forInvalidSavePathFormat(string $path) : mixed
Parameters
- $path : string
forMissingDatabaseTable()
public
static forMissingDatabaseTable() : mixed
forMissingExtension()
public
static forMissingExtension(string $extension) : static
No longer used.
Parameters
- $extension : string
Return values
staticforNoHandlers()
public
static forNoHandlers(string $class) : static
Parameters
- $class : string
Return values
staticforWriteProtectedSavePath()
public
static forWriteProtectedSavePath([string|null $path = null ]) : mixed
Parameters
- $path : string|null = null