Type Alias ErrorObserver

ErrorObserver: { error(error: Error): void }

Partial interface type for observer defining a mandatory error method. Used to construct the actual Observer type.

Type declaration

  • error:function
    • Receives the sequence error.

      Parameters

      • error: Error

        The error.

      Returns void