SmartAccountValidationException
public class SmartAccountValidationException : SmartAccountException, @unchecked Sendable
Validation-related errors (7xxx range).
-
Indicates that the supplied address is not a valid Stellar
See moreG…orC…strkey.Declaration
Swift
public final class InvalidAddress : SmartAccountValidationException, @unchecked Sendable -
Indicates that the supplied amount is malformed or out of range.
See moreDeclaration
Swift
public final class InvalidAmount : SmartAccountValidationException, @unchecked Sendable -
Indicates that a user-supplied input failed validation.
See moreDeclaration
Swift
public final class InvalidInput : SmartAccountValidationException, @unchecked Sendable -
Undocumented
Declaration
Swift
public static func invalidAddress(address: String, cause: Error? = nil) -> InvalidAddress -
Builds an
InvalidAmounterror with a uniform"Invalid amount: <amount>"message, optionally suffixed with" - <reason>"when a reason is provided.Declaration
Swift
public static func invalidAmount( amount: String, reason: String? = nil, cause: Error? = nil ) -> InvalidAmount -
Undocumented
Declaration
Swift
public static func invalidInput( field: String, reason: String, cause: Error? = nil ) -> InvalidInput
View on GitHub
Install in Dash