Skip to main content

errors

API > @betterer/errors

Error type used within Betterer.

Classes

ClassDescription
BettererErrorA custom Error for use in Betterer. It attaches some extra details to a standard JavaScript error for better logging and debugging.

Functions

FunctionDescription
isBettererError(err)Check if an object is a BettererError.

Type Aliases

Type AliasDescription
BettererErrorDetailAn additional piece of information attached to a BettererError. This might be a more detailed error message, or the original Error that caused the BettererError to be created.
BettererErrorDetailsA list of BettererErrorDetails.