public RpcMethodError getRpcMethodError() {
    return rpcMethodError;
  }
Get the error

@return the error
plugin-api/src/main/java/org/hyperledger/besu/plugin/services/exception/PluginRpcEndpointException.java