Type alias Catch

Catch: ((error) => boolean) | undefined

The Catch type alias is used and intended to be used in conjunction with the CatchQueue and represents a function that is called with the thrown error. The return value of this callback will be used to examine whether the Component containing the decorated property is responsible to handle the thrown error.

Type declaration

    • (error): boolean
    • Parameters

      • error: unknown

      Returns boolean

Generated using TypeDoc