Possible error codes that can be returned by ReturnUserError.


value-alreadyexists
ALREADY_EXISTS

The requested resource already exists.

The input value is blank.

value-creationfailed
CREATION_FAILED

A requested resource could not be created.

The input value should be equal to the value allowed.

value-featurenotenabled
FEATURE_NOT_ENABLED

A required feature is not enabled.

value-greaterthan
GREATER_THAN

The input value should be greater than the minimum allowed value.

value-greaterthanorequalto
GREATER_THAN_OR_EQUAL_TO

The input value should be greater than or equal to the minimum value allowed.

The input value isn't included in the list.

value-internalerror
INTERNAL_ERROR

Unexpected internal error happened.

The input value is invalid.

value-invalidstate
INVALID_STATE

A resource was not in the correct state for the operation to succeed.

The input value should be less than the maximum value allowed.

value-lessthanorequalto
LESS_THAN_OR_EQUAL_TO

The input value should be less than or equal to the maximum value allowed.

value-notificationfailed
NOTIFICATION_FAILED

A requested notification could not be sent.

value-notanumber
NOT_A_NUMBER

The input value is not a number.

value-noteditable
NOT_EDITABLE

A requested item is not editable.

A requested item could not be found.

The input value needs to be blank.

The input value is already taken.

The input value is too big.

The input value is too long.

value-toomanyarguments
TOO_MANY_ARGUMENTS

Too many arguments provided.

The input value is too short.

value-wronglength
WRONG_LENGTH

The input value is the wrong length.


Was this section helpful?

The error code.


Was this section helpful?
Map
ReturnErrorCode

Fields from