W3cubDocs

/Laravel 8

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|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

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