ConstThe constructor to use
The details of what was asserted
The constructor to use
Optionaloptions: AssertMakeErrorOptionsOptions
Instance of T
Create an error with a message in which unquoted details
substitution values may have been redacted into lossy typeof output but
are still available for logging to an associated console.
Optionaldetails: DetailsThe details of what was asserted
OptionalerrConstructor: GenericErrorConstructorThe constructor to use
Optionaloptions: AssertMakeErrorOptionsOptions
Instance of Error
Create an error with a
messagein which unquoted details substitution values may have been redacted into lossytypeofoutput but are still available for logging to an associated console.Narrows the return type to the constructor type.