MaintenanceModeException

class MaintenanceModeException extends ServiceUnavailableHttpException (View source)

Properties

Carbon $wentDownAt When the application was put in maintenance mode.
int $retryAfter The number of seconds to wait before retrying.
Carbon $willBeAvailableAt When the application should next be available.

Methods

void __construct(int $time, int $retryAfter = null, string $message = null, Exception $previous = null, int $code = 0)

Create a new exception instance.

Details

void __construct(int $time, int $retryAfter = null, string $message = null, Exception $previous = null, int $code = 0)

Create a new exception instance.

Parameters

int $time
int $retryAfter
string $message
Exception $previous
int $code

Return Value

void

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.7/Illuminate/Foundation/Http/Exceptions/MaintenanceModeException.html