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

Create a new exception instance.

Details

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

Create a new exception instance.

Parameters

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

Return Value

void

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.