Stellar PHP SDK API Documentation

SEP30ConflictResponseException extends Exception

Exception thrown when the SEP-30 recovery server returns HTTP 409 Conflict.

This indicates a resource state conflict, such as:

  • Account already registered with the recovery server (attempting duplicate registration)
  • Account update conflicts with existing state

The most common scenario is attempting to register an account that has already been registered. Clients should first check if an account exists using accountDetails() before attempting registration, or use updateIdentitiesForAccount() to modify an existing registration.

Tags
see
https://github.com/stellar/stellar-protocol/blob/v0.8.1/ecosystem/sep-0030.md#errors
see
RecoveryService::accountDetails()
see
RecoveryService::updateIdentitiesForAccount()

Table of Contents


        
On this page
  • Table Of Contents

Search results