mini\Exceptions\AccessDeniedException class

Documentation

Exception thrown when access to a resource is denied

Transport-agnostic - the dispatcher maps this to appropriate response (e.g., 401/403 for HTTP, appropriate error for CLI, etc.)

Inheritance

Extends: Exception

Implements: Throwable Stringable

Properties (4)

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

Methods (10)

Documentation missing

public __wakeup()
inherited from Exception

Documentation missing

public final getMessage()
inherited from Exception

Documentation missing

public final getCode()
inherited from Exception

Documentation missing

public final getFile()
inherited from Exception

Documentation missing

public final getLine()
inherited from Exception

Documentation missing

public final getTrace()
inherited from Exception

Documentation missing

public final getPrevious()
inherited from Exception

Documentation missing

public final getTraceAsString()
inherited from Exception

Documentation missing

public __toString()
inherited from Exception

Documentation missing

Source

src/Exceptions/AccessDeniedException.php:11-17