Alpha ZealPHP is early-stage and under active development. APIs may change between minor versions until v1.0. Feedback and bug reports welcome on GitHub.
API Index — Namespaces, Packages, Reports, Indices

ComponentException extends RuntimeException
in package

FinalYes

A component request the endpoint refuses. The code is the HTTP status: 400 malformed or tampered input, 403 session mismatch or not authorized, 404 unknown component or action, 409 snapshot from another build.

Table of Contents

Methods

badRequest()  : self
forbidden()  : self
notFound()  : self
stale()  : self

Methods

badRequest()

public static badRequest(string $message) : self
Parameters
$message : string
Return values
self

forbidden()

public static forbidden(string $message) : self
Parameters
$message : string
Return values
self

notFound()

public static notFound(string $message) : self
Parameters
$message : string
Return values
self

stale()

public static stale(string $message) : self
Parameters
$message : string
Return values
self
On this page