ONGFetchResourceError Constants Reference

Declared in ONGErrors.h

ONGFetchResourceError

Error codes in ONGFetchResourceErrorDomain

Definition

typedef NS_ENUM(ONGErrorCode, ONGFetchResourceError ) {
   ONGFetchResourceErrorUserNotAuthenticated = 9010,
   ONGFetchResourceErrorInvalidMethod = 10010,
   ONGFetchResourceErrorInvalidHeaders = 10019,
};

Constants

ONGFetchResourceErrorUserNotAuthenticated

No user is currently authenticated, possibly due to the fact that the access token has expired. A user must be authenticated in order to fetch resources.

Declared In ONGErrors.h.

ONGFetchResourceErrorInvalidMethod

provided request method is not valid, use one of @“GET”, @“POST”, @“DELETE”, @“PUT”

Declared In ONGErrors.h.

ONGFetchResourceErrorInvalidHeaders

provided request headers are not valid

Declared In ONGErrors.h.

Declared In

ONGErrors.h