@dypai-ai/client-sdk - v1.12.0
    Preparing search index...

    Function classifyAuthError

    • Convert a generic error or HTTP response into a typed DypaiError subclass by inspecting the message, status, and error code.

      Parameters

      • message: string
      • status: number
      • Optionalcode: string

      Returns DypaiError