Sep30NotFoundException

Exception thrown when the recovery server returns HTTP 404 Not Found.

Indicates that the requested account or resource does not exist on the recovery server. This typically occurs when:

  • The account has not been registered with the recovery server

  • The account was previously deleted

  • The signing address used in a recovery request is not recognized

Recovery actions:

  • Verify the Stellar account address is correct

  • Register the account with the recovery server before attempting recovery

  • Check if the account was registered with a different recovery server

Example - Handle not found:

try {
val details = sep30Service.getAccountDetails(address)
} catch (e: Sep30NotFoundException) {
println("Account not registered: ${e.message}")
// Register the account first
}

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