Subcode
public enum Subcode : String, Error
Sender and Receiver subcodes (per namespace)
-
XML Well-formed violation occurred.
Declaration
Swift
case WellFormed
-
There was a tag name or namespace mismatch.
Declaration
Swift
case TagMismatch
-
XML element tag was missing.
Declaration
Swift
case Tag
-
SOAP Namespace error occurred.
Declaration
Swift
case Namespace
-
There was a missing required attribute.
Declaration
Swift
case MissingAttr
-
A prohibited attribute was present.
Declaration
Swift
case ProhibAttr
-
An error due to any of the following: • missing argument • too many arguments • arguments are of the wrong data type.
Declaration
Swift
case InvalidArgs
-
The argument value is invalid.
Declaration
Swift
case InvalidArgVal
-
An unknown action is specified.
Declaration
Swift
case UnknownAction
-
The requested operation is not permitted by the device.
Declaration
Swift
case OperationProhibited
-
The action requested requires authorization and the sender is not authorized.
Declaration
Swift
case NotAuthorized
-
The requested action is optional and is not implemented by the device.
Declaration
Swift
case ActionNotSupported
-
The requested SOAP action failed.
Declaration
Swift
case Action
-
The device does not have sufficient memory to complete the action.
Declaration
Swift
case OutOfMemory
-
The device has encountered an error condition which it cannot recover by itself and needs reset or power cycle.
Declaration
Swift
case CriticalError
-
This returns the subcode (the namespace is stripped off the front).
Declaration
Swift
public var localizedDescription: String { get }