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