Skip to main content

InputRegistrationError

Error class for input registration errors. This error is thrown when an input key cannot be registered, either because it has already been registered, or is not a valid input key, or is not a valid input value.

@group

Errors/Input

@throws

When a module, model, overlay, resource, input, metadata or tag is registered a second time.

@throws

When two modules declare one model, or one module names two resources alike.

@throws

When the module or resource an input is registered against is not found.

Hierarchy

Index

Constructors

Properties

Constructors

constructor

  • Creates a new instance.


    Parameters

    • message: string

      The error message.

    • inputKey: string

      The input key for which the error occurred.

    Returns InputRegistrationError

Properties

readonlyinputKey

inputKey: string

The key that could not be registered, such as app-module.model.app.

Page Options