An error that is thrown when there is a problem initializing an item.

Hierarchy

  • Error
    • InitializeError

Constructors

Properties

Constructors

  • Initializes a new instance of the support/InitializeError!InitializeError class.

    Parameters

    • failureMode: FailureMode

      Failure mode configured for initialization errors.

    • error: Error

      Original error that occurred.

    • target: Initializable

      The object that threw the error.

    • Optionalmessage: string

      The error message. If not specified, a default one will be used.

    • Rest...args: unknown[]

      Additional arguments for placeholders in the message.

    Returns InitializeError

Properties

error: Error

Original error that occurred.

failureMode: FailureMode

Failure mode configured for initialization errors.

The object that threw the error.