glitchkit
Version:
A lightweight toolkit to create and manage expressive, structured, and reusable error types. Perfect for APIs, services, and glitchy adventures
13 lines (12 loc) • 410 B
TypeScript
import { IGlitchKitMetadataJson, IGlitchKitTraceabilityJson } from '../../utility';
interface IGlitchKitBaseErrorJson {
name: string;
message: string;
errorCode: number | undefined;
stack: string | undefined;
timestamp: string;
durationMs: number | undefined;
metadata: IGlitchKitMetadataJson;
traceability: IGlitchKitTraceabilityJson;
}
export default IGlitchKitBaseErrorJson;