Package version:

Interface ErrorResponseBody

Error response body contract.

interface ErrorResponseBody {
    code?: string;
    message?: string;
}

Properties

Properties

code?: string

An identifier for the error. Codes are invariant and are intended to be consumed programmatically.

message?: string

A message describing the error, intended to be suitable for display in a user interface.