AXIAM PHP SDK

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

$field  : string
$message  : string

Methods

__construct()  : mixed

Properties

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.

On this page

Search results