@absolunet/ioc2.1.0

View on GitHub

NotImplementedError

Error that needs to be thrown to simulate a method that was not implemented, such as would do a typed engine with interfaces or abstract methods.

Constructor

new NotImplementedError(instance, method, returnTypeopt, typeopt)

Source:
NotImplementedError constructor.
Parameters:
Name Type Attributes Default Description
instance * The current instance.
method string The method that was not implemented.
returnType string <optional>
The expected return type.
type string <optional>
"method" The method type, either "method", "accessor" or "mutator".

Extends

  • TypeError