ComposeLoadError
extends RuntimeException
in package
FinalYes
Specification composition failure before form generation or validation.
Table of Contents
Properties
- $compositionTrace : array<int, string>
- $errorCode : string
- Composition error code, separate from Exception's integer code.
Methods
- __construct() : mixed
- __get() : mixed
- Return the composition code when its virtual property is accessed.
- __isset() : bool
- Companion to __get so isset($e->code) reports the virtual `code` property.
- getCompositionTrace() : array<int, string>
- Return the specification paths recorded by the composition operation.
- getErrorCode() : string
- Return the composition error code.
Properties
$compositionTrace read-only
private
array<int, string>
$compositionTrace
Specification paths, separate from the exception stack.
$errorCode read-only
Composition error code, separate from Exception's integer code.
private
string
$errorCode
Methods
__construct()
public
__construct(string $code, string $message[, array<int, string> $trace = [] ][, Throwable|null $previous = null ]) : mixed
Parameters
- $code : string
- $message : string
- $trace : array<int, string> = []
- $previous : Throwable|null = null
__get()
Return the composition code when its virtual property is accessed.
public
__get(string $name) : mixed
Parameters
- $name : string
__isset()
Companion to __get so isset($e->code) reports the virtual `code` property.
public
__isset(string $name) : bool
Parameters
- $name : string
Return values
boolgetCompositionTrace()
Return the specification paths recorded by the composition operation.
public
getCompositionTrace() : array<int, string>
Return values
array<int, string>getErrorCode()
Return the composition error code.
public
getErrorCode() : string