Skip to content

ValidationError

Namespace Pain001.Sdk.

One item of an HTTP 422 detail array: FastAPI's request validation error. Deserialize Pain001ApiException.Detail into a list of these when Pain001ApiException.StatusCode is 422. Row errors in a payment file are RowError.

Positional properties

Property Description
Location Where the error is: field names (strings) and row or list indexes (integers).
Message What is wrong.
ErrorType The error's machine-readable type.
Input The offending input, when the server reports it.
Context Extra context, when the server reports it.

Methods

ValidationError(IReadOnlyList<JsonElement>, String, String, Nullable<JsonElement>, Nullable<JsonElement>)

One item of an HTTP 422 detail array: FastAPI's request validation error. Deserialize Pain001ApiException.Detail into a list of these when Pain001ApiException.StatusCode is 422. Row errors in a payment file are RowError.

Parameter Description
Location Where the error is: field names (strings) and row or list indexes (integers).
Message What is wrong.
ErrorType The error's machine-readable type.
Input The offending input, when the server reports it.
Context Extra context, when the server reports it.

Properties

Context

Extra context, when the server reports it.

ErrorType

The error's machine-readable type.

Input

The offending input, when the server reports it.

Location

Where the error is: field names (strings) and row or list indexes (integers).

Message

What is wrong.

All types