目录

ArkWeb_ErrorInfo_

typedef struct ArkWeb_ErrorInfo_ ArkWeb_ErrorInfo

Overview

ArkWeb_ErrorInfo is a response error detail structure used to set response error information in custom scheme request interception scenarios. Developers can use this structure to set the error code, custom error code, and whether to automatically generate a response when no response is received. This structure is typically used together with ArkWeb_ResourceHandler to pass error information through OH_ArkWebResourceHandler_DidFailWithErrorInfo when a request fails.

Since: 26.0.1

Related module: Web

Header file: arkweb_scheme_handler.h