type ExceptionStatus = "Internal" | "BadRequest" | "NotFound" | "Forbidden" | "Unauthorized"; declare class Exception { readonly message: string; readonly status: ExceptionStatus; readonly trace?: unknown; constructor(message: string, status: ExceptionStatus, trace?: unknown); } declare class InternalException extends Exception { constructor(message: string, trace?: unknown); } export { Exception, type ExceptionStatus, InternalException };