Module error_helpers

Module error_helpers 

Source
Expand description

Error helper functions for rocketmq-remoting

This module provides convenient helper functions to create unified errors for common remoting scenarios.

Functionsยง

abort_process_error
Create an abort process error
channel_recv_failed
Create a channel receive request failed error
channel_send_failed
Create a channel send request failed error
connection_invalid
Create a connection invalid error
decoder_error
Create a remoting command decoder error
decoding_error
Create a decoding error
deserialize_header_error
Create a deserialize header error
encoder_error
Create a remoting command encoder error
illegal_argument
Create an illegal argument error
io_error
Create an I/O error from std::io::Error
remote_error
Create a remote error
unsupported_serialize_type
Create an unsupported serialize type error