ErrorCode.h File Reference
#include <WString.h>
Include dependency graph for ErrorCode.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_ERRORCODE_MAP(XX)
 UPnP defined action error codes. More...
 
#define XX(code, tag, text, description)   tag = code,
 

Enumerations

enum class  UPnP::ErrorCode { UPnP::XX }
 

Functions

String toString (UPnP::ErrorCode error)
 
String toLongString (UPnP::ErrorCode error)
 

Macro Definition Documentation

◆ UPNP_ERRORCODE_MAP

#define UPNP_ERRORCODE_MAP (   XX)
Value:
XX(0, None, "No Error", "") \
XX(401, InvalidAction, "Invalid Action", "No action by that name at this service") \
XX(402, InvalidArgs, "Invalid Args", \
"Could be any of the following:\n" \
" - Not enough in args\n" \
" - Args in the wrong order\n" \
" - One or more in args are of the wrong data type\n" \
"Additionally, the UPnP Certification Test Tool shall return the following warning" \
" message if there are too many in args:\n" \
" 'Sending too many in args is not recommended and may cause unexpected results.'") \
XX(501, ActionFailed, "Action Failed", "Current state of service prevents invoking the action") \
XX(600, ArgumentValueInvalid, "Argument Value Invalid", "The argument value is invalid") \
XX(601, ArgumentValueOutOfRange, "Argument Value Out of Range", \
"An argument value is less than the minimum or more than the maximum value" \
" of the allowed value range, or is not in the allowed value list.") \
XX(602, OptionalActionNotImplemented, "Optional Action Not Implemented", \
"The requested action is optional and is not implemented by the device") \
XX(603, OutOfMemory, "Out of Memory", \
"The device does not have sufficient memory available to complete the action." \
" This is allowed to be a temporary condition; the control point is allowed to choose to retry" \
" the unmodified request again later and it is expected to succeed if memory is available.") \
XX(604, HumanInterventionRequired, "Human Intervention Required", \
"The device has encountered an error condition which it cannot resolve" \
" itself and required human intervention such as a reset or power cycle." \
" See the device display or documentation for further guidance.") \
XX(605, StringArgumentTooLong, "String Argument Too Long", \
"A string argument is too long for the device to handle properly")
#define XX(code, tag, text, description)
Definition: ErrorCode.h:59

UPnP defined action error codes.

◆ XX

#define XX (   code,
  tag,
  text,
  description 
)    tag = code,

Function Documentation

◆ toLongString()

String toLongString ( UPnP::ErrorCode  error)

◆ toString()

String toString ( UPnP::ErrorCode  error)