import { DaffError } from '@daffodil/core'
An error object containing info about the exception that generated it.
interface DaffError {
code: string
message: string
recoverable: boolean
name: string
message: string
stack: string
}
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. |
name string |
---|
message string |
---|
stack string |
---|