august-yale
    Preparing search index...

    Class TimeoutError

    Timeout error class.

    Subclass of NetworkError — a request timing out is one specific kind of transport-level failure. Existing callers checking err instanceof TimeoutError continue to work; callers using the broader err instanceof NetworkError (or instanceof YaleApiError) also catch this case.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Constructors

    Properties

    code?: string

    Underlying transport error code, when available.

    originalError?: Error