Documentation

PageNotFoundException extends OutOfBoundsException
in package
implements ExceptionInterface Uses DebugTraceableTrait

Interfaces, Classes and Traits

ExceptionInterface
Provides a domain-level interface for broad capture of all framework-related exceptions.

Table of Contents

$code  : int
Error code
__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()  : mixed
forEmptyController()  : mixed
forMethodNotFound()  : mixed
forPageNotFound()  : mixed

Properties

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()

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

forMethodNotFound()

public static forMethodNotFound(string $method) : mixed
Parameters
$method : string
Return values
mixed

forPageNotFound()

public static forPageNotFound([string $message = null ]) : mixed
Parameters
$message : string = null
Return values
mixed

Search results