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