Variable CraftErrorPropsConst

CraftErrorProps: ZodObject<{
    cause: ZodOptional<ZodString>;
    context: ZodOptional<ZodString>;
    errorCode: ZodOptional<ZodEnum<[ErrorCode, ...ErrorCode[]]>>;
    module: ZodOptional<ZodString>;
    name: ZodString;
    severity: ZodOptional<ZodEnum<[Severity, ...Severity[]]>>;
}, "strip", ZodTypeAny, {
    cause?: string;
    context?: string;
    errorCode?: ErrorCode;
    module?: string;
    name: string;
    severity?: Severity;
}, {
    cause?: string;
    context?: string;
    errorCode?: ErrorCode;
    module?: string;
    name: string;
    severity?: Severity;
}> = ...

Zod schema for the properties required to craft an error.