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

Unified Diff: chrome/browser/resources/cryptotoken/errorcodes.js

Issue 607913003: Improved error reporting in cryptotoken (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/cryptotoken/errorcodes.js
diff --git a/chrome/browser/resources/cryptotoken/errorcodes.js b/chrome/browser/resources/cryptotoken/errorcodes.js
index ff231cd984fc3930df2c6a48e0c3ab981d6ec9fa..3733ab881c2d55346dc3542fd341fb73c3f587ce 100644
--- a/chrome/browser/resources/cryptotoken/errorcodes.js
+++ b/chrome/browser/resources/cryptotoken/errorcodes.js
@@ -3,7 +3,7 @@
// found in the LICENSE file.
/**
- * @fileoverview Error codes reported by top-level request handlers.
+ * @fileoverview Errors reported by top-level request handlers.
*/
'use strict';
@@ -20,3 +20,12 @@ var ErrorCodes = {
'DEVICE_INELIGIBLE': 4,
'TIMEOUT': 5
};
+
+/**
+ * An error object for responses
+ * @typedef {{
+ * errorCode: ErrorCodes,
+ * errorMessage: (?string|undefined)
+ * }}
+ */
+var U2fError;
« no previous file with comments | « chrome/browser/resources/cryptotoken/enroller.js ('k') | chrome/browser/resources/cryptotoken/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698