6.11 TxRPC error codes

This section explains errors returned from the OpenTP1 TxRPC system service.

The table below lists TxRPC error codes. The table also describes the equivalent return values returned from the function dc_rpc_call(). When you create error handling processing for IDL-only TxRPC, see the description of these equivalent return values for reference.

Table 6-1 TxRPC error codes

Error codeMeaning
txrpc_x_not_in_transactionThe operation with transaction_mandatory specified was called from outside a global transaction.
txrpc_x_no_tx_open_doneWhen the manager was called with an OpenTP1 TxRPC system service, the operation was executed although the function tx_open() was not called.
DCTRPER_PROTOA protocol error occurred.
rpc_s_comm_failureA communication-related error occurred. Equivalent to the following return values of the function dc_rpc_call():
  • DCRPCER_SYSERR
  • DCRPCER_SYSERR_RB
  • DCRPCER_SYSERR_AT_SERVER
  • DCRPCER_SYSERR_AT_SERVER_RB
  • DCRPCER_SERVICE_TERMINATING
  • DCRPCER_SERVICE_NOT_UP
  • DCRPCER_SERVICE_CLOSED
  • DCRPCER_OLTF_NOT_UP
  • DCRPCER_OLTF_INITIALIZING
rpc_s_no_memoryMemory became insufficient. Equivalent to the following return value of the function dc_rpc_call():
  • DCRPCER_NO_BUFS
rpc_s_fault_remote_no_memoryServer memory became insufficient. Equivalent to the following return values of the function dc_rpc_call():
  • DCRPCER_NO_BUFS_RB
  • DCRPCER_NO_BUFS_AT_SERVER
rpc_s_call_timeoutA timeout occurred. Equivalent to the following return value of the function dc_rpc_call():
  • DCRPCER_TIMED_OUT
rpc_s_in_args_too_bigA value specified for an argument is too big. Equivalent to the following return value of the function dc_rpc_call():
  • DCRPCER_MESSAGE_TOO_BIG
rpc_s_entry_not_foundNo service entry found. Equivalent to the following return values of the function dc_rpc_call():
  • DCRPCER_NO_SUCH_SERVICE_GROUP
  • DCRPCER_NO_SUCH_SERVICE
rpc_s_mgmt_op_disallowedThe server is a socket reception server, and it cannot receive the service request. Or the server is protected with the OpenTP1 security facility, and the client has no access to the server. Equivalent to the following return value of the function dc_rpc_call():
  • DCRPCER_SERVER_BUSY
rpc_s_binding_has_no_authThe server is using the OpenTP1 security facility. An access error occurred with the security facility. Equivalent to the following return value of the function dc_rpc_call():
  • DCRPCER_SECCHK
rpc_s_fault_unspecIn an OpenTP1 system, an error equivalent to one of the following return values of the function dc_rpc_call() occurred.
  • DCRPCER_TESTMODE
  • DCRPCER_INVALID_REPLY
  • DCRPCER_REPLY_TOO_BIG
  • DCRPCER_REPLY_TOO_BIG_RB
Alternatively, marshaling/unmarshaling failed, or communications data was destroyed.
rpc_s_unknown_stub_rtl_if_versVersion in the OpenTP1 library is different.
rpc_s_unknown_ifVersion in the interface definition is different.