Class NotAllowedException
The method received in the request-line is known by the origin server but not supported by the target resource.
The origin server MUST generate an Allow header field in a 405 response containing a list of the target resource's currently supported methods.
A 405 response is cacheable by default; i.e., unless otherwise indicated by the method definition or explicit cache controls1.
- Exception
-
RuntimeException
-
DSchoenbauer\Exception\Platform\RuntimeException implements DSchoenbauer\Exception\ExceptionInterface
-
DSchoenbauer\Exception\Http\ClientError\ClientErrorException implements DSchoenbauer\Exception\Http\HttpExceptionInterface
-
DSchoenbauer\Exception\Http\ClientError\NotAllowedException
Namespace: DSchoenbauer\Exception\Http\ClientError
Author: David Schoenbauer dschoenbauer@gmail.com
Since: 1.0.0
Link: Source
Located at Exception/Http/ClientError/NotAllowedExceptionException.php
Author: David Schoenbauer dschoenbauer@gmail.com
Since: 1.0.0
Link: Source
Located at Exception/Http/ClientError/NotAllowedExceptionException.php
public
|
__toString(),
__wakeup(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()
|
$code,
$file,
$line,
$message
|