build

Builds a JSONRPCResponse from the configured properties.

Throws

if both result and error are set, or neither is set.