TomlCurrencyLoadError
public enum TomlCurrencyLoadError : Error, Sendable
Errors that can occur when loading a linked currency TOML file from a URL.
Per SEP-0001, a stellar.toml can link to separate TOML files for individual currencies using toml=“https://DOMAIN/.well-known/CURRENCY.toml” as the currency’s only field.
-
The provided URL string is invalid or cannot be parsed.
Declaration
Swift
case invalidUrl -
The currency TOML file could not be parsed or contains invalid TOML syntax.
Declaration
Swift
case invalidToml
View on GitHub
Install in Dash