PrivMXEndpointError
Errors thrown by PrivMX Endpoint Swift.
Cases correspond to methods in which the error happened. Each case has privmx.InternalError
as associated value, which holds data about the error.
Fields
otherFailure(_:)
Enum Case
Represents failure unrelated to methods in PrivmxEndpointSwift package
failedGettingConnectionId(_:)
Enum Case
Failed to get Connection ID
failedGeneratingSymmetricKey(_:)
Enum Case
Failed to generate Symmetric Key
failedEncrypting(_:)
Enum Case
Failed to encrypt
failedDecrypting(_:)
Enum Case
Failed to decrypt
failedSigning(_:)
Enum Case
Failed to sign
failedVerifyingSignature(_:)
Enum Case
Failed to verify Signature
failedGeneratingPubKey(_:)
Enum Case
Failed to create a Public Key
failedGeneratingPrivKey(_:)
Enum Case
Failed to create a Private Key
failedConvertingKeyToWIF(_:)
Enum Case
Failed to convert a Key to WIF
failedConnecting(_:)
Enum Case
Failed to connect
failedDisconnecting(_:)
Enum Case
Failed to disconnect
failedListingContexts(_:)
Enum Case
Failed to list Contexts
failedGettingContextUsers(_:)
Enum Case
Failed to get a list of Users from a Context
failedInstantiatingThreadApi(_:)
Enum Case
Failed to instantiate ThreadApi
failedCreatingThread(_:)
Enum Case
Failed to create a Thread
failedGettingThread(_:)
Enum Case
Failed to get a Thread
failedListingThreads(_:)
Enum Case
Failed to list Threads
failedGettingMessage(_:)
Enum Case
Failed to get a Message
failedListingMessages(_:)
Enum Case
Failed to list Messages
failedCreatingMessage(_:)
Enum Case
Failed to create a Message
failedUpdatingThread(_:)
Enum Case
Failed to update a Thread
failedUpdatingMessage(_:)
Enum Case
Failed to update a Message
failedInstantiatingStoreApi(_:)
Enum Case
Failed to instantiate StoreApi
failedListingStores(_:)
Enum Case
Failed to list Stores
failedGettingStore(_:)
Enum Case
Failed to get a Store
failedCreatingStore(_:)
Enum Case
Failed to create a Store
failedUpdatingStore(_:)
Enum Case
Failed to update a Store
failedGettingFile(_:)
Enum Case
Failed to get a File
failedListingFiles(_:)
Enum Case
Failed to list Files
failedCreatingFile(_:)
Enum Case
Failed to create a File
failedUpdatingFile(_:)
Enum Case
Failed to update a File
failedOpeningFile(_:)
Enum Case
Failed to open a File
failedReadingFromFile(_:)
Enum Case
Failed to read from a File
failedSeekingInFile(_:)
Enum Case
Failed to seek in a File
failedWritingToFile(_:)
Enum Case
Failed to write to a File
failedClosingFile(_:)
Enum Case
Failed to close a File
failedDeletingFile(_:)
Enum Case
Failed to delete a File
failedInstantiatingInboxApi(_:)
Enum Case
Failed to instantiate InboxApi
failedCreatingInbox(_:)
Enum Case
Failed to create an Inbox
failedUpdatingInbox(_:)
Enum Case
Failed to update an Inbox
failedDeletingInbox(_:)
Enum Case
Failed to delete an Inbox
failedGettingInbox(_:)
Enum Case
Failed to get an Inbox
failedGettingInboxPublicView(_:)
Enum Case
Failed to get a Public View of an Inbox
failedListingInboxes(_:)
Enum Case
Failed to list Inboxes
failedPreparingEntry(_:)
Enum Case
Failed to prepare an Entry
failedSendingEntry(_:)
Enum Case
Failed to send an Entry
failedReadingEntry(_:)
Enum Case
Failed to read an Entry
failedDeletingEntry(_:)
Enum Case
Failed to delete an Entry
failedListingEntries(_:)
Enum Case
Failed to list Entries
failedCreatingFileHandle(_:)
Enum Case
Failed to create a File Handle
failedWaitingForEvent(_:)
Enum Case
Failed to wait for an Event
failedGettingEvent(_:)
Enum Case
Failed to get an Event
failedSubscribingForEvents(_:)
Enum Case
Failed to subscribe for Events
failedUnsubscribingFromEvents(_:)
Enum Case
Failed to unsubscribe from Events
failedDeletingThread(_:)
Enum Case
Failed to delete a Thread
failedDeletingMessage(_:)
Enum Case
Failed to delete a Message
failedDeletingStore(_:)
Enum Case
Failed to delete a Store
failedQueryingEventHolder(_:)
Enum Case
Failed to query and EventHolder
failedExtractingEventFromHolder(_:)
Enum Case
Failed to extract an Event from an EventHolder
failedSettingCerts(_:)
Enum Case
Failed to set Certificates
failedInstantiatingEventQueue(_:)
Enum Case
Failed to instantiate EventQueue
failedEmittingBreakEvent(_:)
Enum Case
Failed to emit LibBreakEvent
failedRequestingBackend(_:)
Enum Case
Failed to send a request to the backend
failedInstantiatingEventApi(_:)
Enum Case
Failed to instantiate EventApi
failedEmittingCustomEvent(_:)
Enum Case
Failed to emit a CustomEvent
failedSubscribingForCustomEvents(_:)
Enum Case
Failed to subscribe for Custom Events
failedUnsubscribingFromCustomEvents(_:)
Enum Case
Failed to subscribe for Custom Events
failedSettingUserVerifier(_:)
Enum Case
failedInstantiatingExtKey(_:)
Enum Case
Failed to instantiate ExtKey
failedDerivingExtKey(_:)
Enum Case
Failed to derive ExtKey
failedGettingPrivatePartAsBase58(_:)
Enum Case
Failed to get private part as Base58
failedGettingPublicPartAsBase58(_:)
Enum Case
Failed to get public part as Base58
failedGettingPrivateKey(_:)
Enum Case
Failed to get private key
failedGettingPublicKey(_:)
Enum Case
Failed to get public key
failedGettingPublicKeyAsBase58Address(_:)
Enum Case
Failed to get public key as Base58 Address
failedGettingPrivateEncKey(_:)
Enum Case
Failed to get private Enc key
failedGettingChainCode(_:)
Enum Case
Failed to get chain code
failedVerifyingCompactSignature(_:)
Enum Case
Failed to verify compact signature
failedCheckingIfExtKeyIsPrivate(_:)
Enum Case
Failed to check if ExtKey is private
failedConvertingKeyToBase58DER(_:)
Enum Case
Failed to convert a PGP Asn1 key to Base58DER
failedGeneratingBIP39(_:)
Enum Case
Failed to generate a BIP39 instance
failedConvertingEntropyToMnemonic(_:)
Enum Case
Failed to convert Entropy to a Mnemonic
failedConvertingMnemonicToEntropy(_:)
Enum Case
Failed to convert a Mnemonic to Entropy
failedGeneratingSeedFromMnemonic(_:)
Enum Case
Failed to generate a Seed for BIP39 Key from a Mnemonic
failedEncodingToHex(_:)
Enum Case
failedEncodingToBase64(_:)
Enum Case
failedEncodingToBase32(_:)
Enum Case
failedDecodingFromHex(_:)
Enum Case
failedDecodingFromBase64(_:)
Enum Case
failedDecodingFromBase32(_:)
Enum Case
failedCheckingifStringIsHex(_:)
Enum Case
failedCheckingifStringIsBase64(_:)
Enum Case
failedCheckingifStringIsBase32(_:)
Enum Case
failedTrimmingString(_:)
Enum Case
failedSplittingString(_:)
Enum Case
Methods
getMessage()
Gets the Message of the error
Returns
String
·
Message of the error
getCode()
Gets the Code of the error, if it exists
Returns
CUnsignedInt?
·
Code of the internal error, or nil
getName()
Gets the Name of the error
Returns
String
·
Name of the error
getDescription()
Gets the Description of the error
Returns
String
·
Description of the error
getScope()
Gets the Scope of the error as a String
Returns
String?
·
Scope of the error
We use cookies on our website. We use them to ensure the proper functioning of the site and, if you agree, for purposes we set, such as analytics or marketing.
PrivMX Endpoint Swift v2.3