use Deserialize;
use Serialize;
use Error;
/// A general-purpose error type for RPC service methods.
///
/// This enum is intended to be used within the `Result` returned by your service
/// trait's methods, allowing business logic errors to be serialized and sent to the client.