Skip to main content

DependencyError

Thrown when a Dependency is given a second relationship, or asked to drop a behavior it does not have.

@group

Errors/Node

@throws

When a dependency is given a relationship it already has.

@throws

When a dependency behavior it does not have is asked for.

Hierarchy

  • Error
    • DependencyError

Index

Constructors

Properties

Constructors

constructor

  • Parameters

    • message: string

      The error message.

    • dependency: Dependency

      The dependency that was being changed.

    Returns DependencyError

Properties

readonlydependency

dependency: IDependency

The dependency, as it was when it refused.

Page Options