Taal

AppFunctionErrorCategory Enum

Definition

public enum AppFunctionErrorCategory
type AppFunctionErrorCategory = 
Inheritance
AppFunctionErrorCategory

Fields

Name Value Description
Unknown 0

The error category is unknown.

This is the default value for getErrorCategory().

Android reference for android.app.appfunctions.AppFunctionException.ERROR_CATEGORY_UNKNOWN.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

RequestError 1

The error is caused by the app requesting a function execution.

For example, the caller provided invalid parameters in the execution request e.g. an invalid function ID.

Errors in the category fall in the range 1000-1999 inclusive.

Android reference for android.app.appfunctions.AppFunctionException.ERROR_CATEGORY_REQUEST_ERROR.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

System 2

The error is caused by an issue in the system.

For example, the AppFunctionService implementation is not found by the system.

Errors in the category fall in the range 2000-2999 inclusive.

Android reference for android.app.appfunctions.AppFunctionException.ERROR_CATEGORY_SYSTEM.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

App 3

The error is caused by the app providing the function.

For example, the app crashed when the system is executing the request.

Errors in the category fall in the range 3000-3999 inclusive.

Android reference for android.app.appfunctions.AppFunctionException.ERROR_CATEGORY_APP.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to