Sep30ConflictException

Exception thrown when the recovery server returns HTTP 409 Conflict.

Indicates that the request conflicts with the current state of the recovery server. This typically occurs when:

  • An account is already registered and a new registration is attempted

  • A signer is already registered for the account

Recovery actions:

  • Use the update endpoint instead of register if the account already exists

  • Retrieve the current account details to understand the existing state

Example - Handle conflict:

try {
val account = sep30Service.registerAccount(address, identities, signers)
} catch (e: Sep30ConflictException) {
println("Account already registered: ${e.message}")
// Update the existing registration instead
}

See also:

Parameters

message

Detailed error message from the recovery server

Constructors

Link copied to clipboard
constructor(message: String)

Properties

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard
expect open val message: String?

Functions

Link copied to clipboard
open override fun toString(): String