@adonisjs/generic-exceptions
- Version 3.0.1
- Published
- 8.31 kB
- 2 dependencies
- MIT license
Install
npm i @adonisjs/generic-exceptions
yarn add @adonisjs/generic-exceptions
pnpm add @adonisjs/generic-exceptions
Overview
List of generic exceptions to be used in all other repos
Index
Classes
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.
Badge
To add a badge like this oneto 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[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@adonisjs/generic-exceptions)
- 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>
- Updated .
Package analyzed in 2611 ms. - Missing or incorrect documentation? Open an issue for this package.