Class ServiceUnavailable
Exception thrown when the server is currently unavailable (because it is overloaded or down for maintenance).
- Exception implements Throwable
- ┗ ICanBoogie\HTTP\ServiceUnavailable implements ICanBoogie\HTTP\Exception
Methods summary
public
__construct( $message
= "The server is currently unavailable (because it is overloaded or down for maintenance).", $code
= 503, ICanBoogie\HTTP\Exception
$previous
= null )
Methods inherited from Exception
__toString()
,
__wakeup()
,
getCode()
,
getFile()
,
getLine()
,
getMessage()
,
getPrevious()
,
getTrace()
,
getTraceAsString()
Properties summary
Properties inherited from Exception
$code
,
$file
,
$line
,
$message