JSONRPCError Builder
DSL builder for constructing JSONRPCError instances.
Type Parameters
D
The type of the error's optional data field.
Example:
val error = jsonRPCError {
code = -32600
message = "Invalid Request"
data = "Missing 'method' field"
}Content copied to clipboard
Properties
Functions
Link copied to clipboard
Builds a JSONRPCError from the configured properties.