UNPKG

dino-core

Version:

A dependency injection framework for NodeJS applications

24 lines (23 loc) 683 B
/** * Exception thrown when a resource or the resolution of a resource is not supported */ export declare class NotSupportedException extends Error { /** * Create a new NotSupportedException, use NotSupportedException#create instead * * @param {String} name the name of the resource that is not supported * * @private */ constructor(name?: string); /** * Fluent style method to create a new instance of NotSupportedException * * @param {String} name the name of the resource that is not supported * @returns {NotSupportedException} * * @static * @public */ static create(name: string): Error; }