ErrorFactory
Index
Constructors
Methods
Constructors
constructor
Parameters
formatter: DiffFormatter = ...
Returns ErrorFactory
Methods
create
Type parameters
- RE: RuntimeError
Parameters
errorType: new (...args: any[]) => RE
options: ErrorOptions
Returns RE
Generates Serenity/JS RuntimeError objects based on provided configuration.