Structs§
- E_
CANNOT_ LOOKUP_ ROUTE - Raised when attempting to generate a URL for a route name that does not exist.
- E_
CONFIG_ PARSE_ ERROR - Raised when a config value cannot be parsed into the expected type.
- E_
HTTP_ EXCEPTION - Generic HTTP error. Can be instantiated with custom status and messages.
- E_
HTTP_ REQUEST_ ABORTED - Raised when
Response::abort()is called inside a handler. - E_
INSECURE_ APP_ KEY - Raised when
APP_KEYlength is less than 16 characters. - E_
INVALID_ ENV_ VARIABLES - Raised when one or more environment variables fail validation.
- E_
METHOD_ NOT_ ALLOWED - Raised when a route exists but the HTTP method does not match.
- E_
MISSING_ APP_ KEY - Raised when
APP_KEYis not defined in config. - E_
MISSING_ CONFIG_ KEY - Raised when a required config key is missing.
- E_
MISSING_ ROUTE_ PARAM - Raised when a required route parameter is not present in the URL.
- E_
ROUTE_ NOT_ FOUND - Raised when the server receives a request for a non-existing route.
- E_
SESSION_ NOT_ MUTABLE - Raised when attempting to write to a session opened in read-only mode.
- E_
SESSION_ NOT_ READY - Raised when the session store is accessed before the session middleware has run.
Enums§
Traits§
- RokException
- Base trait for all typed exceptions in the rok ecosystem.