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

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

Issue 1695893004: RPC Explorer (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@rpcepxlorer-deps
Patch Set: Created 4 years, 10 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
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
8 <script>
9 'use strict';
10
11 var rpcExplorer = (function(rpcExplorer) {
12
13 function GrpcError(code, description) {
14 if (code == null) {
15 throw new Error("code is not set")
Bons 2016/02/13 17:18:27 mixed double quotes with single quotes
nodir 2016/02/17 02:02:13 Done.
16 }
17 this.name = 'GrpcError';
18 this.code = code;
19 this.description = description;
20 this.message = 'code = ' + code + ' desc = ' + description;
21 }
22 GrpcError.prototype = new Error();
23 rpcExplorer.GrpcError = GrpcError;
24
25 return rpcExplorer;
26 }(rpcExplorer || {}));
27 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698