Documentation

RouterException extends FrameworkException
in package

RouterException

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.
forControllerNotFound()  : RouterException
Throw when controller or its method is not found.
forCopyError()  : mixed
forEnabledZlibOutputCompression()  : mixed
forFabricatorCreateFailed()  : mixed
forInvalidFile()  : mixed
forInvalidParameterType()  : RouterException
Thrown when the actual parameter type does not match the expected types.
forInvalidRoute()  : RouterException
Throw when route is not valid.
forMissingDefaultRoute()  : RouterException
Thrown when a default route is not set.
forMissingExtension()  : mixed
forNoHandlers()  : 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

forControllerNotFound()

Throw when controller or its method is not found.

public static forControllerNotFound(string $controller, string $method) : RouterException
Parameters
$controller : string
$method : string
Return values
RouterException

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

forNoHandlers()

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

Search results