Vana SDK - v3.5.0
    Preparing search index...

    Function parsePSError

    • Read a Personal Server JSON error body from a non-2xx Response and return the typed PSError. The returned code is always lowercase.

      Parameters

      • response: Response

      Returns Promise<PSError | null>

      A PSError for non-2xx responses with a recognised code, or null for 2xx responses, malformed JSON, or unrecognised codes.