RpcException.invalidParams constructor Null safety

RpcException.invalidParams(
  1. String message
)

An exception indicating that the parameters for the requested method were invalid.

Methods can use this to reject requests with invalid parameters.

Implementation

RpcException.invalidParams(String message)
    : this(error_code.INVALID_PARAMS, message);