Documentation
    Preparing search index...
    • Registers a listener called with every error thrown by a typed route, after the response conversion.

      Parameters

      • closure: (error: any) => any

      Returns void

      contracts/common.md#principled-implementation The listener is added to a set, so the same function registered twice is called once.

      contracts/common.md#clear-and-simple-design One set insertion.

      contracts/common.md#prohibited-implementation-shortcuts The listener only observes; the route notifies it after the current turn and ignores its errors.

      contracts/common.md#meaningful-documentation The comment states when listeners are called.

      contracts/portability.md#os-neutral-implementation Converter ordering and listener registration operate on JavaScript class and function identity, not native path or process identity.