Libraries/UPnP/src/include/Network/UPnP/Error.h File Reference
Include dependency graph for Libraries/UPnP/src/include/Network/UPnP/Error.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
UPnP | |
Macros | |
#define | UPNP_ERROR_MAP(XX) |
#define | XX(tag, comment) errorValue##tag, |
#define | XX(tag, comment) tag = -errorValue##tag, |
Enumerations | |
enum | UPnP::ErrorValues |
enum class | UPnP::Error { UPnP::XX , UPnP::Pending = 1 } |
Functions | |
ErrorCode | UPnP::getErrorCode (Error err) |
Get corresponding error code for a given error. More... | |
bool | operator! (UPnP::Error error) |
String | toString (UPnP::Error error) |
String | toLongString (UPnP::Error error) |
Macro Definition Documentation
◆ UPNP_ERROR_MAP
#define UPNP_ERROR_MAP | ( | XX | ) |
Value:
XX(Success, "Success") \
XX(NoMemory, "Insufficient memory") \
XX(XmlParsing, "XML paring failed") \
XX(NoSoapBody, "SOAP Body missing") \
XX(NoActiveRequest, "No active request") \
XX(NoSoapContent, "SOAP content missing") \
XX(BadSoapFault, "Unknown SOAP fault kind") \
XX(BadSoapNamespace, "Bad SOAP namespace attribute") \
XX(ActionInvalid, "Action name not recognised") \
XX(ActionNotImplemented, "Action not implemented")
◆ XX [1/2]
#define XX | ( | tag, | |
comment | |||
) | errorValue##tag, |
◆ XX [2/2]
#define XX | ( | tag, | |
comment | |||
) | tag = -errorValue##tag, |
Function Documentation
◆ operator!()
|
inline |
◆ toLongString()
String toLongString | ( | UPnP::Error | error | ) |
◆ toString()
String toString | ( | UPnP::Error | error | ) |