module documentation
Type definitions and Exceptions for ResponseStatusCodes.
| Class | |
Response codes |
| Exception | ALREADY |
ALREADY EXISTS Response Status Code. |
| Exception | APP |
APP RULE VALIDATION FAILED Response Status Code. |
| Exception | BAD |
BAD REQUEST Response Status Code. |
| Exception | CONFLICT |
CONFLICT Response Status Code. |
| Exception | CONTENTS |
CONTENTS UNACCEPTABLE Response Status Code. |
| Exception | CROSS |
CROSS RESOURCE OPERATION FAILURE Response Status Code. |
| Exception | GROUP |
GROUP MEMBER TYPE INCONSISTENT Response Status Code. |
| Exception | INSUFFICIENT |
INSUFFICIENT ARGUMENTS Response Status Code. |
| Exception | INTERNAL |
INTERNAL SERVER ERRROR Response Status Code. |
| Exception | INVALID |
INVALID ARGUMENTS Response Status Code. |
| Exception | INVALID |
INVALID CHILD RESOURCE TYPE Response Status Code. |
| Exception | INVALID |
INVALID PROCESS CONFIGURATION Response Status Code. |
| Exception | INVALID |
INVALID SPARQL QUERY Response Status Code. |
| Exception | MAX |
MAX NUMBER OF MEMBER EXCEEDED Response Status Code. |
| Exception | NO |
NO CONTENT internal Response Status Code. |
| Exception | NOT |
NOT ACCEPTABLE Response Status Code. |
| Exception | NOT |
NOT FOUND Response Status Code. |
| Exception | NOT |
NOT IMPLEMENTED Response Status Code. |
| Exception | OPERATION |
OPERATION DENIED BY REMOTE ENTITY Response Status Code. |
| Exception | OPERATION |
OPERATION NOT ALLOWED Response Status Code. |
| Exception | ORIGINATOR |
ORIGINATOR HAS ALREADY REGISTERED Response Status Code. |
| Exception | ORIGINATOR |
ORIGINATOR HAS NO PRIVILEGE Response Status Code. |
| Exception | RECEIVER |
RECEIVER HAS NO PRIVILEGES Response Status Code. |
| Exception | RELEASE |
RELEASE VERSION NOT SUPPORTED Response Status Code. |
| Exception | REMOTE |
REMOTE ENTITY NOT REACHABLE Response Status Code. |
| Exception | REQUEST |
REQUEST TIMEOUT Response Status Code. |
| Exception | |
Base class for CSE Exceptions. |
| Exception | SECURITY |
SECURITY ASSOCIATION REQUIRED Response Status Code. |
| Exception | SERVICE |
SERVICE SUBSCRIPTION NOT ESTABLISHED Response Status Code. |
| Exception | SUBSCRIPTION |
SUBSCRIPTION CREATER HAS NO PRIVILEGE Response Status Code. |
| Exception | SUBSCRIPTION |
SUBSCRIPTION HOST HAS NO PRIVILEGE Response Status Code. |
| Exception | SUBSCRIPTION |
SUBSCRIPTION VERIFICATION INITIATION FAILED Response Status Code. |
| Exception | TARGET |
TARGET NOT REACHABLE Response Status Code. |
| Exception | TARGET |
TARGET NOT SUBSCRIBABLE Response Status Code. |
| Exception | UNABLE |
UNABLE TO RECALL REQUEST Response Status Code. |
| Exception | UNSUPPORTED |
UNSUPPORTED MEDIA TYPE Response Status Code. |
| Function | exception |
Get the exception class for a Response Status Code. |
| Function | is |
Check whether a response status code is a success code. |
| Variable | _mapping |
Mapping between Response Status Codes and exceptions. |
| Variable | _ |
Mapping of oneM2M return codes to http status codes. |
| Variable | _success |
The list of success response status codes. |
Get the exception class for a Response Status Code.
| Parameters | |
rsc:ResponseStatusCode | The Response Status Code. |
| Returns | |
type[ | The exception class or None if not found. |
Check whether a response status code is a success code.
| Parameters | |
rsc:ResponseStatusCode | The response status code to check. |
| Returns | |
bool | True if the response status code is a success code, False otherwise. |