class MaintenanceModeException extends ServiceUnavailableHttpException (View source)

deprecated Will be removed in a future Laravel version.

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|null $retryAfter = null, string|null $message = null, Throwable $previous = null, int $code = 0)

Create a new exception instance.

Details

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

Create a new exception instance.

Parameters

int $time
int|null $retryAfter
string|null $message
Throwable $previous
int $code

Return Value

void