user defined rpc error code