refs #17148, fix how dojo/rpc/RpcService handles errors