SimplifiedError: {
    error: string | null | undefined;
    props?: { readonly [key: string]: string | number | boolean };
    stack?: string;
}

Represents an error and associated stack.

Type declaration

  • Readonlyerror: string | null | undefined

    A string representing the error that occurred. In some circumstances, this will match the stack property.

  • Optional Readonlyprops?: { readonly [key: string]: string | number | boolean }

    Additional properties that the source error had.

  • Optional Readonlystack?: string

    The error's stack, if it has one.