Parameters
- props: {
cause?: string;
context?: string;
errorCode?: ErrorCode;
module?: string;
name: string;
severity?: Severity;
}Optionalcause?: string
Optionalcontext?: string
OptionalerrorCode?: ErrorCode
Optionalmodule?: string
name: string
Optionalseverity?: Severity
Returns typeof CraftedSynthesizedError
The crafted synthesized error class.
Crafts a new synthesized error class with the given properties.