errors
Error type used within Betterer.
Classes
Class | Description |
---|---|
BettererError | A custom Error for use in Betterer. It attaches some extra details to a standard JavaScript error for better logging and debugging. |
Functions
Function | Description |
---|---|
isBettererError(err) | Check if an object is a BettererError . |
Type Aliases
Type Alias | Description |
---|---|
BettererErrorDetail | An 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. |
BettererErrorDetails | A list of BettererErrorDetail s. |