wtx 0.44.1

A collection of different transport implementations and related tools focused primarily on web technologies.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::codec::protocol::JsonRpcResponseError;

/// Decode/EnCode error
#[derive(Debug)]
pub enum CodecError {
  /// Quotes don't conform with `RFC-4180`
  CsvInvalidQuotes,
  /// CSV line is too large to parse
  CsvLineOverflow,
  /// Invalid PEM block
  InvalidPemBlock,
  /// Invalid PEM label
  InvalidPemLabel,
  /// JSON-RPC response error
  JsonRpcDecoderErr(JsonRpcResponseError),
  /// `wtx` can not perform this operation due to known limitations.
  UnsupportedOperation,
}