FieldError
in package
FinalYes
One field-level complaint from a `400`/`422` validation body (CONTRACT.md ยง27.4 rule 7).
Carried by ValidationError so a caller can point at the offending input rather than re-parsing the server's message text.
Table of Contents
Properties
Methods
- __construct() : mixed
Properties
$field read-only
public
string
$field
$message read-only
public
string
$message
Methods
__construct()
public
__construct(string $field, string $message) : mixed
Parameters
- $field : string
-
Dotted path to the rejected field, as the server named it (e.g.
metadata.owner). - $message : string
-
The server's complaint about that field.