Skip to main content

RemoveResourceError

Thrown when a resource is removed while other resources still depend on it. Carries the children that blocked it.

@group

Errors/Node

Hierarchy

Index

Constructors

Properties

Constructors

constructor

  • RemoveResourceError(message: string, resource: UnknownResource, childrenResources: UnknownResource[]): RemoveResourceError
  • Parameters

    • message: string

      The error message.

    • resource: UnknownResource

      The resource that could not be removed.

    • childrenResources: UnknownResource[]

      The resources still depending on it.

    Returns RemoveResourceError

Properties

readonlychildrenResources

childrenResources: string[]

readonlyinheritednode

node: string
Page Options