Class BadRequestException
Represents an HTTP 400 error.
-
Exception
-
RuntimeException
-
Izberg\Exception\HttpException
-
Izberg\Exception\BadRequestException
Methods summary
public
|
#
__construct( string $message = null, string $code = 400 )
Constructor
Parameters
- $message
- If no message is given 'Bad Request' will be the message
- $code
- Status code, defaults to 400
|
Methods inherited from Exception
__toString(),
__wakeup(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()
|
Properties inherited from Exception
$code,
$file,
$line,
$message
|