TESSA Web API
    Preparing search index...

    Interface HttpInterceptorErrorContext<Opt>

    interface HttpInterceptorErrorContext<Opt extends HttpOptions = HttpOptions> {
        clientTypes: symbol[];
        error: unknown;
        options: Opt;
        request: Request;
        response: HttpResponse;
        url: string;
        clientTypeIs(...types: symbol[]): boolean;
        clientTypeOnlyIs(...types: symbol[]): boolean;
        urlIs(...urls: (string | RegExp)[]): boolean;
    }

    Type Parameters

    Hierarchy

    • HttpInterceptorContextBase
      • HttpInterceptorErrorContext

    Implemented by

    Index

    Properties

    clientTypes: symbol[]
    error: unknown
    options: Opt
    request: Request
    response: HttpResponse
    url: string

    Methods

    • Parameters

      • ...types: symbol[]

      Returns boolean

    • Parameters

      • ...types: symbol[]

      Returns boolean

    • Parameters

      • ...urls: (string | RegExp)[]

      Returns boolean