class MissingRateLimiterException extends Exception (View source)

Methods

forLimiter(string $limiter)

Create a new exception for invalid named rate limiter.

forLimiterAndUser(string $limiter, string $model)

Create a new exception for an invalid rate limiter based on a model property.

Details

static MissingRateLimiterException forLimiter(string $limiter)

Create a new exception for invalid named rate limiter.

Parameters

string $limiter

Return Value

MissingRateLimiterException

static MissingRateLimiterException forLimiterAndUser(string $limiter, string $model)

Create a new exception for an invalid rate limiter based on a model property.

Parameters

string $limiter
string $model

Return Value

MissingRateLimiterException