Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(207)

Side by Side Diff: server/static/rpc/rpc-error.html

Issue 1695893004: RPC Explorer (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@rpcepxlorer-deps
Patch Set: 80 chars Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « server/static/rpc/rpc-code.html ('k') | server/static/rpc/test/rpc-client.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!--
2 Copyright 2016 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file.
5 -->
6
7 <script>
8 'use strict';
9
10 var luci = (function(luci) {
11
12 var rpc = luci.rpc = luci.rpc || {};
13
14 function GrpcError(code, description) {
15 if (code == null) {
16 throw Error('code is not set')
17 }
18 this.name = 'GrpcError';
19 this.code = code;
20 this.description = description;
21 this.message = 'code = ' + code + ' desc = ' + description;
22 }
23 GrpcError.prototype = Error();
24 rpc.GrpcError = GrpcError;
25
26 return luci;
27 }(luci || {}));
28 </script>
OLDNEW
« no previous file with comments | « server/static/rpc/rpc-code.html ('k') | server/static/rpc/test/rpc-client.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698