@inrupt/solid-client-errors
    Preparing search index...

    Class ClientHttpError

    Error thrown on unsuccessful HTTP response.

    try {
    // ...
    } catch (e) {
    if (e instanceof ClientHttpError) {
    // e.response and e.problemDetails can be accessed safely.
    }
    }

    0.0.1

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Accessors

    Constructors

    Accessors

    • get problemDetails(): Readonly<
          {
              detail?: string;
              instance?: URL;
              status: number;
              title: string;
              type: URL;
          },
      >

      The ProblemDetails instance.

      Returns Readonly<
          {
              detail?: string;
              instance?: URL;
              status: number;
              title: string;
              type: URL;
          },
      >