@absolunet/ioc2.1.0

View on GitHub

NotInstantiableError

Error that needs to be thrown when instantiating a class that is meant to be abstract.

Constructor

new NotInstantiableError(constructor)

Source:
NotInstantiableError constructor.
Parameters:
Name Type Description
constructor string | function The constructor reference, or its name.

Extends

  • TypeError