Skip to content

dag-api / Exports / IApiFailure

Interface: IApiFailure<TError>

Failed API response wrapper with status code and typed error array.

Type parameters

Name
TError

Table of contents

Properties

Properties

ok

ok: false

Defined in

contracts/common-api.ts:10


status

status: number

Defined in

contracts/common-api.ts:11


errors

errors: TError[]

Defined in

contracts/common-api.ts:12

Released under the MIT License.