These constants can be used for handling or generating errors when using AppKinetics.
More...
Variables
- NSString *const GDServicesErrorDomain
- Error domain for AppKinetics errors.
- NSInteger const GDServicesErrorGeneral
- A general AppKinetics error occurred.
- NSInteger const GDServicesErrorApplicationNotFound
- The service consumer sent a request to an application that couldn't be found on the device or computer.
- NSInteger const GDServicesErrorServiceNotFound
- The service consumer sent a request that specified a service that isn't supported by the service provider.
- NSInteger const GDServicesErrorServiceVersionNotFound
- The service consumer sent a request that specified a service version that isn't supported by the service provider.
- NSInteger const GDServicesErrorMethodNotFound
- The service consumer sent a request that specified a method that isn't supported by the service provider.
- NSInteger const GDServicesErrorNotAllowed
- The service consumer sent a request to an application that couldn't be unlocked.
- NSInteger const GDServicesErrorInvalidParams
- The application attempted to utilize an unsupported type as a service parameter, either in a service request or in a service response.
- NSInteger const GDServicesErrorCertificateNotFound
- The application attempted to establish a connection but couldn't find a valid X509 certificate.
- NSInteger const GDServicesMethodDisabled
- The service consumer sent a request that specified a method that has been disabled in the service provider.
- NSInteger const GDServicesVersionDisabled
- The service consumer sent a request that specified a service version that has been disabled in the service provider.
- NSInteger const GDServicesServiceDisabled
- The service consumer sent a request that specified a service that has been disabled in the service provider.
- NSInteger const GDServicesErrorEnterpriseUserNotMatch
- The application attempted to establish a connection to the application that was activated for a different user.
Detailed Description
Errors can be generated by the AppKinetics system itself, or by service provider applications working within the system. See the individual error codes' documentation for a description of when each code is to be used, and note the following.
The NotFound codes are for use when the service, service version, or method in a request is not offered by the provider application to which the request was sent.
The Disabled codes are for use when the service, service version, and method are generally offered by the provider application, but support is currently disabled by a policy setting or other condition that is, in principle, temporary.
Variable Documentation
This domain is for generic AppKinetics service errors. Note that this domain isn't used for errors that are specific to a service, nor for errors that are specific to a service provider application.
For an overall description of AppKinetics see the GDService class reference.
An NSError
with this value as its domain could be encountered:
- In the
error
parameter following a call to sendTo (GDServiceClient) where the request was not accepted by the AppKinetics system.
- In the
error
parameter following a call to replyTo (GDService) where the response was not accepted by the AppKinetics system.
- As the
params
object passed to an invocation of GDServiceClientDidReceiveFrom where a request that had been accepted subsequently failed in the system.
Of the above, sendTo:
and GDServiceClientDidReceiveFrom:
are part of the service consumer side of the AppKinetics programming interface, and replyTo:
is part of the service provider side.