1# arkweb_error_code.h
2
3
4## Overview
5
6Declares the error code of the ArkWeb NDK APIs.
7
8**Library**: libohweb.so
9
10**File to include**: <web/arkweb_error_code.h>
11
12**System capability**: SystemCapability.Web.Webview.Core
13
14**Since**: 12
15
16**Related module**: [Web](_web.md)
17
18
19## Summary
20
21
22### Types
23
24| Name| Description|
25| -------- | -------- |
26| typedef enum [ArkWeb_ErrorCode](_web.md#arkweb_errorcode) [ArkWeb_ErrorCode](_web.md#arkweb_errorcode) | Defines an enum for the error codes of ArkWeb NDK APIs. |
27
28
29### Enums
30
31| Name| Description|
32| -------- | -------- |
33| [ArkWeb_ErrorCode](_web.md#arkweb_errorcode) {<br>[ARKWEB_SUCCESS](_web.md) = 0, [ARKWEB_INIT_ERROR](_web.md) = 17100001, [ARKWEB_ERROR_UNKNOWN](_web.md) = 17100100, [ARKWEB_INVALID_PARAM](_web.md) = 17100101,<br>[ARKWEB_SCHEME_REGISTER_FAILED](_web.md) = 17100102, [ARKWEB_INVALID_URL](_web.md) = 17100103, [ARKWEB_INVALID_COOKIE_VALUE](_web.md) = 17100104<br>} | Enumerates the error codes of ArkWeb NDK APIs. |
34