Error Code Display Mode

The error code of MindIE Motor has six digits, in hexadecimal format. The following uses 100201 as an example. For details about the fields, see Table 1.

Table 1 Field description

Error Code Field

Description

10 (first two digits)

Subcomponent code. The options are:

  • 10: ms-controller
  • 20: ms-coordinator
  • 30: ms-deployer
  • 40: ms-common (including httpServer)

02 (two digits in the middle)

Feature ID.

01 (last two digits)

Error type. The options are:

  • 00: EXCEPTION (Exception captured. For details, see the printed exception information.)
  • 01: INVALID_INPUT (The external input parameter is invalid.)
  • 02: INVALID_PARAMETER (Parameter verification fails. The parameter is not an external input.)
  • 03: OUT_OF_RANGE (The operation is out of the valid range.)
  • 04: OPERATION_REPEAT (The entity, such as a file or directory, to be created or inserted already exists, or operations, such as setting the status, have been performed.)
  • 05: NOT_FOUND (Some entities, such as files, directories, requests, or methods, are not found.)
  • 06: RESOURCE_LIMIT (The resource reaches the maximum or minimum limit.)
  • 07: RESOURCE_EXHAUSTED (Physical resources, CPU, drive space, and memory space are overloaded. For example, memory allocation fails.)
  • 08: DEADLINE_EXCEEDED (The operation times out due to network link delay (time_out).)
  • 09: UNREACHABLE (The communication link is interrupted.)
  • 0A: CALL_ERROR (An external error is reported due to an internal logic failure of a function. The error causes are various. For details, see the error information of the function.)
  • 0B: UNAVAILABLE (The service or resource is not supported or unavailable in terms of state or function.)
  • 0C: FAILED_PRECONDITION (The operation is rejected in the current system state. For example, the directory to be deleted is not empty.)
  • 0D: PENDING (The operation is interrupted, which may be caused by a concurrency issue or abnormal exit.)
  • 0E: DATA_LOSS (The data that cannot be restored is lost or damaged.)
  • 0F: UNAUTHENTICATED (The request does not have a valid authentication credential.)
  • 10: PERMISSION_DENIED (No operation permission.)