struct te_rpc_error_data

Overview

Structure for storing data about error occurred during RPC call. More…

#include <rpc_server.h>

struct te_rpc_error_data {
    // fields

    tarpc_out_arg* out_common;
    te_errno err;
    char str[RPC_ERROR_MAX_LEN];
};

Detailed Documentation

Structure for storing data about error occurred during RPC call.

Fields

tarpc_out_arg* out_common

Where error number and message should be set to be reported to RPC caller

te_errno err

Error number

char str[RPC_ERROR_MAX_LEN]

String describing error