Class ServiceUnavailable
Exception thrown when the server is currently unavailable (because it is overloaded or down for maintenance).
- Exception implements Throwable
- ICanBoogie\HTTP\ServerError implements ICanBoogie\HTTP\Exception
- ICanBoogie\HTTP\ServiceUnavailable implements ICanBoogie\HTTP\Exception
Methods summary
public
|
#
__construct( $message = self::DEFAULT_MESSAGE, $code = Status::SERVICE_UNAVAILABLE,
|
Methods inherited from Exception
__toString()
,
__wakeup()
,
getCode()
,
getFile()
,
getLine()
,
getMessage()
,
getPrevious()
,
getTrace()
,
getTraceAsString()
Constants summary
string |
DEFAULT_MESSAGE
|
#
"The server is currently unavailable (because it is overloaded or down for maintenance)."
|
Properties summary
Properties inherited from Exception
$code
,
$file
,
$line
,
$message