Readonly
error: string | null | undefinedA string representing the error that occurred. In some circumstances, this will match the stack property.
Optional
Readonly
props?: { readonly [key: string]: string | number | boolean }Additional properties that the source error had.
Optional
Readonly
stack?: stringThe error's stack, if it has one.
Represents an error and associated stack.