allowed rpc methods to return an error array