mini\Exceptions\AccessDeniedException class

Documentation

Exception thrown when an authenticated user lacks permission

Maps to HTTP 403 (Forbidden). The user is authenticated but not authorized to perform this action.

For unauthenticated users, throw AuthenticationRequiredException (401) instead.

Inheritance

Extends: Exception

Implements: Throwable Stringable

Properties (4)

protected mixed $message
protected mixed $code
protected string $file
protected int $line

Methods (10)

Documentation missing

Documentation missing

Documentation missing

Documentation missing

Documentation missing

Documentation missing

Documentation missing

Documentation missing

Documentation missing

Documentation missing

Source

src/Exceptions/AccessDeniedException.php:13-19