RegulatedAssetsServiceError
public enum RegulatedAssetsServiceError : Error, Sendable
Errors that can occur during regulated assets service operations.
-
The provided domain is invalid or malformed.
Declaration
Swift
case invalidDomain -
The stellar.toml file is invalid, missing, or does not contain required fields.
Declaration
Swift
case invalidToml -
Failed to parse the response from the approval server.
Declaration
Swift
case parsingResponseFailed(message: String) -
The approval server returned a 400 Bad Request error.
Declaration
Swift
case badRequest(error: String) -
The requested resource was not found (404).
Declaration
Swift
case notFound(error: String) -
The request was not authorized (401).
Declaration
Swift
case unauthorized(message: String) -
An error occurred during Horizon API interaction.
Declaration
Swift
case horizonError(error: HorizonRequestError)
View on GitHub
Install in Dash