OpenTP1 Version 7 Programming Reference C Language

[Contents][Index][Back][Next]

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 code Meaning
txrpc_x_not_in_transaction The operation with transaction_mandatory specified was called from outside a global transaction.
txrpc_x_no_tx_open_done When the manager was called with an OpenTP1 TxRPC system service, the operation was executed although the function tx_open() was not called.
DCTRPER_PROTO A protocol error occurred.
rpc_s_comm_failure A 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_memory Memory became insufficient. Equivalent to the following return value of the function dc_rpc_call():
  • DCRPCER_NO_BUFS
rpc_s_fault_remote_no_memory Server 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_timeout A timeout occurred. Equivalent to the following return value of the function dc_rpc_call():
  • DCRPCER_TIMED_OUT
rpc_s_in_args_too_big A 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_found No 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_disallowed The 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_auth The 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_unspec In 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_vers Version in the OpenTP1 library is different.
rpc_s_unknown_if Version in the interface definition is different.