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 = "The server is currently unavailable (because it is overloaded or down for maintenance).", $code = Status::SERVICE_UNAVAILABLE, 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