Non-Confidential | ![]() | 101196_0100_03_en | ||
| ||||
Home > Response error codes > Function-independent error codes |
The following table describes the error codes that all functions might return. These error codes are not listed in the Errors sections, for brevity.
Table 6-2 Function-independent error codes
Symbol | Value | Meaning |
---|---|---|
E_u64json_encoding_error |
-0xB0 |
One of the following:
|
E_malformatted_request |
-0xB1 |
A malformatted request was received. For example,
the This error is only returned when the request is
sufficiently well-formatted to identify that it is a request,
for example it contains a |
E_malformatted_response |
-0xB2 |
A malformatted response was received. For
example, this is returned when a response was received that contains
both an error member and a result member. |
E_ok |
0 | Indicates no error. This is never returned by JSON RPC 2.0 calls because they only return an error object if an error occurred. This value is reserved for the OK case for C++ interfaces or for variables that need to hold a non-error state. |
E_unknown_instance_id |
0xE100 |
The instId
argument does not specify an existing target instance. |
E_function_not_supported_by_instance |
0xE110 |
A function was called with a valid This error applies only to the function name, not
to arguments or their values. This error is also returned when
an unsupported global function, without an |
E_unsupported_argument_name |
0xE111 |
A function received one or more argument names that it does not support. This error tells the caller that the expected functionality is not available in the function. The caller can fall back to a simpler function call with fewer parameters, if it is designed to do so. The callee must put an object |
E_unsupported_argument_value |
0xE112 |
A function received an unsupported value for one or more arguments. This is a catch-all error code, which should only be used if a more specific error code is not available. The callee must put an object |
E_missing_mandatory_argument |
0xE11A |
A function was called without a mandatory argument. The callee must put an object |
E_argument_type_mismatch |
0xE12C |
A value of an incompatible type was specified for a function parameter. This includes types of object members that are passed into functions. See 3.1 JSON data types for type compatibility and conversion rules. The callee must put an object It is undefined whether the request was ignored or partially completed. Clients should assume that the request was ignored and should repeat the request. |
E_not_supported_while_instance_is_blocked |
0xE12D |
A function was called by instance
on instance while
instance is blocked in a synchronous function
call to instance , for example in a synchronous ec_FOO() call. Instance
cannot complete function while it is blocked in
the call to instance . |
E_not_implemented |
0xE13B |
The function being called or the feature being requested or used is not implemented. A common use case is to return this in the
Iris functions should generally not return this
error for functionality that will never be implemented. |