Class ResourceError

ResourceError can be used for terminating a program abruptly, specifically associating the problem with a Resource. Depending on the nature of the problem, clients can choose whether or not the call stack should be hidden as well. This should be very rare, and would only indicate that presenting the stack to the user would not be useful/be detrimental.

Hierarchy

  • Error
    • ResourceError

Constructors

Properties

Methods

Constructors

Properties

hideStack?: boolean
resource: undefined | Resource

Methods

Generated using TypeDoc