UNPKG

@adonisjs/generic-exceptions

Version:

List of generic exceptions to be used in all other repos

10 lines (9 loc) 529 B
import * as NE from 'node-exceptions'; export declare class RuntimeException extends NE.RuntimeException { static readonly errorsDoc: string; static missingConfig(key: string, configLocation: string): RuntimeException; static missingAppKey(provider: string): RuntimeException; static missingEnvKey(key: any): RuntimeException; static incompleteConfig(missingKeys: string[], file: string, forKey?: string): RuntimeException; static invoke(message: any, status?: number, code?: string): RuntimeException; }