SmartAccountCredentialException
public class SmartAccountCredentialException : SmartAccountException, @unchecked Sendable
Credential-related errors (3xxx range).
-
Indicates that the requested credential was not found.
See moreDeclaration
Swift
public final class NotFound : SmartAccountCredentialException, @unchecked Sendable -
Indicates that a credential with the same identifier already exists.
See moreDeclaration
Swift
public final class AlreadyExists : SmartAccountCredentialException, @unchecked Sendable -
Indicates that the credential is malformed or rejected during validation.
See moreDeclaration
Swift
public final class Invalid : SmartAccountCredentialException, @unchecked Sendable -
Indicates that deploying a credential-backed wallet contract failed.
See moreDeclaration
Swift
public final class DeploymentFailed : SmartAccountCredentialException, @unchecked Sendable -
Undocumented
Declaration
Swift
public static func notFound(credentialId: String, cause: Error? = nil) -> NotFound -
Undocumented
Declaration
Swift
public static func alreadyExists(credentialId: String, cause: Error? = nil) -> AlreadyExists -
Undocumented
Declaration
Swift
public static func invalid(reason: String, cause: Error? = nil) -> Invalid -
Undocumented
Declaration
Swift
public static func deploymentFailed(reason: String, cause: Error? = nil) -> DeploymentFailed
View on GitHub
Install in Dash