Represents a field validation error with the necessary details.

interface FieldError {
    error: string;
    field: string;
}

Properties

Properties

error: string

The problem associated with the field.

field: string

Identifies the JSON request field.