mcp-use TypeScript API
    Preparing search index...

    Class OAuthFlowError

    Error reported by the local OAuth callback flow.

    The OAuthFlowError.code value is a stable OAuth or local-flow error code such as "timeout" or "cancelled".

    Hierarchy

    • Error
      • OAuthFlowError
    Index
    • Creates an OAuth flow error.

      Parameters

      • code: string

        OAuth or local-flow error code.

      • Optionaldescription: string

        Optional human-readable description.

      Returns OAuthFlowError

    code: string

    OAuth or local-flow error code.

    description?: string

    Optional human-readable error description.