Freigeben über


ErrorCode enum

Error codes used to identify different types of errors that can occur while developing apps.

Fields

NOT_SUPPORTED_ON_PLATFORM = 100

API not supported in the current platform.

FILE_NOT_FOUND = 404

The file specified was not found on the given location

INTERNAL_ERROR = 500

Internal error encountered while performing the required operation.

NOT_SUPPORTED_IN_CURRENT_CONTEXT = 501

API is not supported in the current context

PERMISSION_DENIED = 1000

Permissions denied by user

NETWORK_ERROR = 2000

Network issue

NO_HW_SUPPORT = 3000

Underlying hardware doesn't support the capability

INVALID_ARGUMENTS = 4000

One or more arguments are invalid

UNAUTHORIZED_USER_OPERATION = 5000

User is not authorized for this operation

INSUFFICIENT_RESOURCES = 6000

Could not complete the operation due to insufficient resources

THROTTLE = 7000

Platform throttled the request because of API was invoked too frequently

USER_ABORT = 8000

User aborted the operation

OPERATION_TIMED_OUT = 8001

Could not complete the operation in the given time interval

OLD_PLATFORM = 9000

Platform code is old and doesn't implement this API

SIZE_EXCEEDED = 10000

The return value is too big and has exceeded our size boundries