PrivMXEndpointError
Errors thrown by PrivMX Endpoint Swift.
Cases correspond to methods in which rthe 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
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 Mesage
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 subscirbe 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
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
We use cookies on our website. We use them to ensure proper functioning of the site and, if you agree, for purposes such as analytics, marketing, and targeting ads.
This is documentation for PrivMX v2.2, which is no longer actively maintained.