GitHub

DaffError

import { DaffError } from '@daffodil/core'

An error object containing info about the exception that generated it.

interface DaffError {
  code: string
  message: string
  recoverable: boolean
}

Properties

code
string

A string that uniquely identifies the error.

message
string

Contains additional relevant information to the cause and/or solution of the error.

recoverable
boolean

Whether the error is non-critical and recoverable or catastrophic and unrecoverable.