UNPKG

@ocubist/error-alchemy

Version:

A powerful Node.js error-handling-framework with custom error types for easy debugging, enhanced error management, strong zod-support and useful quality-of-life-functionality for asserting and validating values.

10 lines 332 B
import z from "zod"; import { severitySelector } from "./severitySelector"; type ValueOf<T> = T[keyof T]; export type Severity = ValueOf<typeof severitySelector>; /** * Zod schema for validating severity levels. */ export declare const Severity: z.ZodEnum<[Severity, ...Severity[]]>; export {}; //# sourceMappingURL=types.d.ts.map