FormInputError
extends RuntimeException
in package
FinalYes
Submitted form data whose shape does not match the specification.
Table of Contents
Properties
- $errorCode : string
- Stable error code shared with the form runtime, separate from Exception's integer code.
Methods
- __construct() : mixed
- Create an input failure whose message names the rule and the data path.
- getErrorCode() : string
- Return the input error code.
Properties
$errorCode read-only
Stable error code shared with the form runtime, separate from Exception's integer code.
private
string
$errorCode
Methods
__construct()
Create an input failure whose message names the rule and the data path.
public
__construct(string $message) : mixed
Parameters
- $message : string
getErrorCode()
Return the input error code.
public
getErrorCode() : string