UNPKG

@hermandev/dilite

Version:

Simple and lightweight Dependency Injection container for TypeScript / Next.js apps

13 lines (12 loc) 355 B
export declare class AppError extends Error { message: string; code: string; status: number; constructor(message: string, code?: string, status?: number); } export declare class ValidationError extends AppError { constructor(message: string); } export declare class NotFoundError extends AppError { constructor(message: string); }