Skip to content

QuioteException

QuioteException is the base class for all Quiote related exceptions.

Rendering an exception to a client belongs to ExceptionRenderer and its registry, not here: the default SafeRenderer reveals nothing about the exception, and the developer-facing page comes from the opt-in quioteframework/whoops package, which brings its own stack-frame and source rendering.

class QuioteException extends Exception

ExtendsException
Since1.0.0
SourceException/QuioteException.php

public function __construct(string $message = '', string|int $mixedCode = 0, ?Throwable $previous = null): mixed

ParameterTypeDescription
$messagestring
$mixedCode`string““int`
$previous?Throwable

Returns mixed

MethodDescription
[`getOriginalCode(): stringint`](#getoriginalcode)

public function getOriginalCode(): string|int

Returns the original code, which may be a string (e.g.

a PDO SQLSTATE like “42P01”).

Returns string``|``int

These come from an ancestor and are documented where they are declared.

MethodDeclared inDescription
getCode()Exception
getFile()Exception
getLine()Exception
getMessage()Exception
getPrevious()Exception
getTrace()Exception
getTraceAsString()Exception