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.
Timeout error class.
Subclass of NetworkError — a request timing out is one specific kind of transport-level failure. Existing callers checking
err instanceof TimeoutErrorcontinue to work; callers using the broadererr instanceof NetworkError(orinstanceof YaleApiError) also catch this case.