BloomRpcEncodeException constructor

BloomRpcEncodeException({
  1. required Object cause,
  2. BloomRpcContract? contract,
  3. Uri? uri,
  4. StackTrace? stackTrace,
  5. String? message,
})

Creates a BloomRpcEncodeException with encoding cause.

Implementation

BloomRpcEncodeException({
  required this.cause,
  this.contract,
  this.uri,
  this.stackTrace,
  String? message,
}) : message = message ?? 'Failed to encode RPC input: $cause';