Microsoft Information Protection (MIP) SDK for C: Reference 1.15
Doxygen-generated documentation for MIP SDK written in C
Loading...
Searching...
No Matches
error_cc.h File Reference

Error definition and functions. More...

#include "mip_cc/result_cc.h"
+ Include dependency graph for error_cc.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  mip_cc_error
 Error information. More...
 

Macros

#define ERROR_STRING_BUFFER_SIZE   1024
 

Enumerations

enum  mip_cc_network_error_category {
  MIP_NETWORK_ERROR_CATEGORY_UNKNOWN ,
  MIP_NETWORK_ERROR_CATEGORY_FAILURE_RESPONSE_CODE ,
  MIP_NETWORK_ERROR_CATEGORY_BAD_RESPONSE ,
  MIP_NETWORK_ERROR_CATEGORY_UNEXPECTED_RESPONSE ,
  MIP_NETWORK_ERROR_CATEGORY_NO_CONNECTION ,
  MIP_NETWORK_ERROR_CATEGORY_PROXY ,
  MIP_NETWORK_ERROR_CATEGORY_SSL ,
  MIP_NETWORK_ERROR_CATEGORY_TIMEOUT ,
  MIP_NETWORK_ERROR_CATEGORY_OFFLINE ,
  MIP_NETWORK_ERROR_CATEGORY_THROTTLED ,
  MIP_NETWORK_ERROR_CATEGORY_CANCELLED ,
  MIP_NETWORK_ERROR_CATEGORY_FUNCTION_NOT_IMPLEMENTED ,
  MIP_NETWORK_ERROR_CATEGORY_SERVICE_UNAVAILABLE
}
 
enum  mip_cc_no_permissions_error_category {
  MIP_NO_PERMISSIONS_ERROR_UNKNOWN ,
  MIP_NO_PERMISSIONS_ERROR_USER_NOT_FOUND ,
  MIP_NO_PERMISSIONS_ERROR_ACCESS_DENIED ,
  MIP_NO_PERMISSIONS_ERROR_ACCESS_EXPIRED ,
  MIP_NO_PERMISSIONS_ERROR_INVALID_EMAIL ,
  MIP_NO_PERMISSIONS_ERROR_UNKNOWN_TENANT ,
  MIP_NO_PERMISSIONS_ERROR_NOT_OWNER ,
  MIP_NO_PERMISSIONS_ERROR_NOT_PREMIUM_LICENSE_USER ,
  MIP_NO_PERMISSIONS_ERROR_CLIENT_NOT_UPDATED
}
 
enum  mip_cc_service_disabled_error_extent {
  MIP_SERVICE_DISABLED_ERROR_EXTENT_USER ,
  MIP_SERVICE_DISABLED_ERROR_EXTENT_DEVICE ,
  MIP_SERVICE_DISABLED_ERROR_EXTENT_PLATFORM ,
  MIP_SERVICE_DISABLED_ERROR_EXTENT_TENANT
}
 

Detailed Description

Error definition and functions.

Definition in file error_cc.h.

Macro Definition Documentation

◆ ERROR_STRING_BUFFER_SIZE

#define ERROR_STRING_BUFFER_SIZE   1024

Definition at line 39 of file error_cc.h.

Enumeration Type Documentation

◆ mip_cc_network_error_category

Enumerator
MIP_NETWORK_ERROR_CATEGORY_UNKNOWN 

Unknown network failure.

MIP_NETWORK_ERROR_CATEGORY_FAILURE_RESPONSE_CODE 

HTTP response code indicates failure.

MIP_NETWORK_ERROR_CATEGORY_BAD_RESPONSE 

HTTP response could not be read.

MIP_NETWORK_ERROR_CATEGORY_UNEXPECTED_RESPONSE 

HTTP response completed but contained unexpected data.

MIP_NETWORK_ERROR_CATEGORY_NO_CONNECTION 

Failed to establish a connection.

MIP_NETWORK_ERROR_CATEGORY_PROXY 

Proxy failure.

MIP_NETWORK_ERROR_CATEGORY_SSL 

SSL failure.

MIP_NETWORK_ERROR_CATEGORY_TIMEOUT 

Connection timed out.

MIP_NETWORK_ERROR_CATEGORY_OFFLINE 

Operation requires network connectivity.

MIP_NETWORK_ERROR_CATEGORY_THROTTLED 

HTTP operation failed due to server traffic throttling.

MIP_NETWORK_ERROR_CATEGORY_CANCELLED 

HTTP operation has been cancelled by the application.

MIP_NETWORK_ERROR_CATEGORY_FUNCTION_NOT_IMPLEMENTED 

HTTP operation has been cancelled by the application.

MIP_NETWORK_ERROR_CATEGORY_SERVICE_UNAVAILABLE 

HTTP response code indicates service is unavailable.

Definition at line 41 of file error_cc.h.

41 {
42 MIP_NETWORK_ERROR_CATEGORY_UNKNOWN, /**< Unknown network failure */
43 MIP_NETWORK_ERROR_CATEGORY_FAILURE_RESPONSE_CODE, /**< HTTP response code indicates failure */
44 MIP_NETWORK_ERROR_CATEGORY_BAD_RESPONSE, /**< HTTP response could not be read */
45 MIP_NETWORK_ERROR_CATEGORY_UNEXPECTED_RESPONSE, /**< HTTP response completed but contained unexpected data */
46 MIP_NETWORK_ERROR_CATEGORY_NO_CONNECTION, /**< Failed to establish a connection */
47 MIP_NETWORK_ERROR_CATEGORY_PROXY, /**< Proxy failure */
48 MIP_NETWORK_ERROR_CATEGORY_SSL, /**< SSL failure */
49 MIP_NETWORK_ERROR_CATEGORY_TIMEOUT, /**< Connection timed out */
50 MIP_NETWORK_ERROR_CATEGORY_OFFLINE, /**< Operation requires network connectivity */
51 MIP_NETWORK_ERROR_CATEGORY_THROTTLED, /**< HTTP operation failed due to server traffic throttling */
52 MIP_NETWORK_ERROR_CATEGORY_CANCELLED, /**< HTTP operation has been cancelled by the application */
53 MIP_NETWORK_ERROR_CATEGORY_FUNCTION_NOT_IMPLEMENTED, /**< HTTP operation has been cancelled by the application */
54 MIP_NETWORK_ERROR_CATEGORY_SERVICE_UNAVAILABLE, /**< HTTP response code indicates service is unavailable */
mip_cc_network_error_category
Definition error_cc.h:41
@ MIP_NETWORK_ERROR_CATEGORY_SERVICE_UNAVAILABLE
HTTP response code indicates service is unavailable.
Definition error_cc.h:54
@ MIP_NETWORK_ERROR_CATEGORY_UNKNOWN
Unknown network failure.
Definition error_cc.h:42
@ MIP_NETWORK_ERROR_CATEGORY_NO_CONNECTION
Failed to establish a connection.
Definition error_cc.h:46
@ MIP_NETWORK_ERROR_CATEGORY_UNEXPECTED_RESPONSE
HTTP response completed but contained unexpected data.
Definition error_cc.h:45
@ MIP_NETWORK_ERROR_CATEGORY_FAILURE_RESPONSE_CODE
HTTP response code indicates failure.
Definition error_cc.h:43
@ MIP_NETWORK_ERROR_CATEGORY_PROXY
Proxy failure.
Definition error_cc.h:47
@ MIP_NETWORK_ERROR_CATEGORY_SSL
SSL failure.
Definition error_cc.h:48
@ MIP_NETWORK_ERROR_CATEGORY_CANCELLED
HTTP operation has been cancelled by the application.
Definition error_cc.h:52
@ MIP_NETWORK_ERROR_CATEGORY_FUNCTION_NOT_IMPLEMENTED
HTTP operation has been cancelled by the application.
Definition error_cc.h:53
@ MIP_NETWORK_ERROR_CATEGORY_BAD_RESPONSE
HTTP response could not be read.
Definition error_cc.h:44
@ MIP_NETWORK_ERROR_CATEGORY_TIMEOUT
Connection timed out.
Definition error_cc.h:49
@ MIP_NETWORK_ERROR_CATEGORY_THROTTLED
HTTP operation failed due to server traffic throttling.
Definition error_cc.h:51
@ MIP_NETWORK_ERROR_CATEGORY_OFFLINE
Operation requires network connectivity.
Definition error_cc.h:50

◆ mip_cc_no_permissions_error_category

Enumerator
MIP_NO_PERMISSIONS_ERROR_UNKNOWN 

Unknown no permissions failure.

MIP_NO_PERMISSIONS_ERROR_USER_NOT_FOUND 

User was not found.

MIP_NO_PERMISSIONS_ERROR_ACCESS_DENIED 
MIP_NO_PERMISSIONS_ERROR_ACCESS_EXPIRED 
MIP_NO_PERMISSIONS_ERROR_INVALID_EMAIL 
MIP_NO_PERMISSIONS_ERROR_UNKNOWN_TENANT 
MIP_NO_PERMISSIONS_ERROR_NOT_OWNER 
MIP_NO_PERMISSIONS_ERROR_NOT_PREMIUM_LICENSE_USER 
MIP_NO_PERMISSIONS_ERROR_CLIENT_NOT_UPDATED 

The SDK used by the client application does not support the requested operation.

Update the SDK or check to make sure the correct arguments were provided

Definition at line 64 of file error_cc.h.

64 {
65 MIP_NO_PERMISSIONS_ERROR_UNKNOWN, /**< Unknown no permissions failure */
66 MIP_NO_PERMISSIONS_ERROR_USER_NOT_FOUND, /**< User was not found */
73 MIP_NO_PERMISSIONS_ERROR_CLIENT_NOT_UPDATED, /**< The SDK used by the client application does not support the requested operation. Update the SDK or check to make sure the correct arguments were provided */
mip_cc_no_permissions_error_category
Definition error_cc.h:64
@ MIP_NO_PERMISSIONS_ERROR_CLIENT_NOT_UPDATED
The SDK used by the client application does not support the requested operation.
Definition error_cc.h:73
@ MIP_NO_PERMISSIONS_ERROR_NOT_OWNER
Definition error_cc.h:71
@ MIP_NO_PERMISSIONS_ERROR_ACCESS_EXPIRED
Definition error_cc.h:68
@ MIP_NO_PERMISSIONS_ERROR_UNKNOWN
Unknown no permissions failure.
Definition error_cc.h:65
@ MIP_NO_PERMISSIONS_ERROR_UNKNOWN_TENANT
Definition error_cc.h:70
@ MIP_NO_PERMISSIONS_ERROR_USER_NOT_FOUND
User was not found.
Definition error_cc.h:66
@ MIP_NO_PERMISSIONS_ERROR_ACCESS_DENIED
Definition error_cc.h:67
@ MIP_NO_PERMISSIONS_ERROR_NOT_PREMIUM_LICENSE_USER
Definition error_cc.h:72
@ MIP_NO_PERMISSIONS_ERROR_INVALID_EMAIL
Definition error_cc.h:69

◆ mip_cc_service_disabled_error_extent

Enumerator
MIP_SERVICE_DISABLED_ERROR_EXTENT_USER 

Service is disabled for the user.

MIP_SERVICE_DISABLED_ERROR_EXTENT_DEVICE 

Service is disabled for the device.

MIP_SERVICE_DISABLED_ERROR_EXTENT_PLATFORM 

Service is disabled for the platform.

MIP_SERVICE_DISABLED_ERROR_EXTENT_TENANT 

Service is disabled for the tenant.

Definition at line 57 of file error_cc.h.

57 {
58 MIP_SERVICE_DISABLED_ERROR_EXTENT_USER, /**< Service is disabled for the user. */
59 MIP_SERVICE_DISABLED_ERROR_EXTENT_DEVICE, /**< Service is disabled for the device. */
60 MIP_SERVICE_DISABLED_ERROR_EXTENT_PLATFORM, /**< Service is disabled for the platform. */
61 MIP_SERVICE_DISABLED_ERROR_EXTENT_TENANT, /**< Service is disabled for the tenant. */
mip_cc_service_disabled_error_extent
Definition error_cc.h:57
@ MIP_SERVICE_DISABLED_ERROR_EXTENT_USER
Service is disabled for the user.
Definition error_cc.h:58
@ MIP_SERVICE_DISABLED_ERROR_EXTENT_DEVICE
Service is disabled for the device.
Definition error_cc.h:59
@ MIP_SERVICE_DISABLED_ERROR_EXTENT_PLATFORM
Service is disabled for the platform.
Definition error_cc.h:60
@ MIP_SERVICE_DISABLED_ERROR_EXTENT_TENANT
Service is disabled for the tenant.
Definition error_cc.h:61