• Version 3.0.1
  • Published
  • 8.31 kB
  • 2 dependencies
  • MIT license


npm i @adonisjs/generic-exceptions
yarn add @adonisjs/generic-exceptions
pnpm add @adonisjs/generic-exceptions


List of generic exceptions to be used in all other repos



class RuntimeException

class RuntimeException extends NE.RuntimeException {}

    property errorsDoc

    static readonly errorsDoc: string;

      method incompleteConfig

      static incompleteConfig: (
      missingKeys: string[],
      file: string,
      forKey?: string
      ) => RuntimeException;

        method invoke

        static invoke: (
        message: any,
        status?: number,
        code?: string
        ) => RuntimeException;

          method missingAppKey

          static missingAppKey: (provider: string) => RuntimeException;

            method missingConfig

            static missingConfig: (key: string, configLocation: string) => RuntimeException;

              method missingEnvKey

              static missingEnvKey: (key: any) => RuntimeException;

                Package Files (2)

                Dependencies (2)

                Dev Dependencies (20)

                Peer Dependencies (0)

                No peer dependencies.


                To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@adonisjs/generic-exceptions.

                • Markdown
                • HTML
                  <a href="https://www.jsdocs.io/package/@adonisjs/generic-exceptions"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>