BettererError.(constructor)
API > @betterer/errors > BettererError > (constructor)
Constructs a new instance of the BettererError class
Signature
constructor(message: string, ...details: BettererErrorDetails);
Parameters
| Parameter | Type | Description |
|---|---|---|
| message | string | |
| details | BettererErrorDetails |