From 6d54e843e86a36a4a6a38302a18e92d5cf3acff0 Mon Sep 17 00:00:00 2001 From: Brian Gough Date: Wed, 12 Sep 2018 10:27:15 +0100 Subject: [PATCH] fix typo in Errors, only two underscores in __proto__ --- .../web/app/coffee/Features/Errors/Errors.coffee | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/services/web/app/coffee/Features/Errors/Errors.coffee b/services/web/app/coffee/Features/Errors/Errors.coffee index f33f3e523e..94aeaa2a90 100644 --- a/services/web/app/coffee/Features/Errors/Errors.coffee +++ b/services/web/app/coffee/Features/Errors/Errors.coffee @@ -31,56 +31,56 @@ UnsupportedFileTypeError = (message) -> error.name = "UnsupportedFileTypeError" error.__proto__ = UnsupportedFileTypeError.prototype return error -UnsupportedFileTypeError.prototype.__proto___ = Error.prototype +UnsupportedFileTypeError.prototype.__proto__ = Error.prototype UnsupportedBrandError = (message) -> error = new Error(message) error.name = "UnsupportedBrandError" error.__proto__ = UnsupportedBrandError.prototype return error -UnsupportedBrandError.prototype.__proto___ = Error.prototype +UnsupportedBrandError.prototype.__proto__ = Error.prototype UnsupportedExportRecordsError = (message) -> error = new Error(message) error.name = "UnsupportedExportRecordsError" error.__proto__ = UnsupportedExportRecordsError.prototype return error -UnsupportedExportRecordsError.prototype.__proto___ = Error.prototype +UnsupportedExportRecordsError.prototype.__proto__ = Error.prototype V1HistoryNotSyncedError = (message) -> error = new Error(message) error.name = "V1HistoryNotSyncedError" error.__proto__ = V1HistoryNotSyncedError.prototype return error -V1HistoryNotSyncedError.prototype.__proto___ = Error.prototype +V1HistoryNotSyncedError.prototype.__proto__ = Error.prototype ProjectHistoryDisabledError = (message) -> error = new Error(message) error.name = "ProjectHistoryDisabledError" error.__proto__ = ProjectHistoryDisabledError.prototype return error -ProjectHistoryDisabledError.prototype.__proto___ = Error.prototype +ProjectHistoryDisabledError.prototype.__proto__ = Error.prototype V1ConnectionError = (message) -> error = new Error(message) error.name = "V1ConnectionError" error.__proto__ = V1ConnectionError.prototype return error -V1ConnectionError.prototype.__proto___ = Error.prototype +V1ConnectionError.prototype.__proto__ = Error.prototype UnconfirmedEmailError = (message) -> error = new Error(message) error.name = "UnconfirmedEmailError" error.__proto__ = UnconfirmedEmailError.prototype return error -UnconfirmedEmailError.prototype.__proto___ = Error.prototype +UnconfirmedEmailError.prototype.__proto__ = Error.prototype EmailExistsError = (message) -> error = new Error(message) error.name = "EmailExistsError" error.__proto__ = EmailExistsError.prototype return error -EmailExistsError.prototype.__proto___ = Error.prototype +EmailExistsError.prototype.__proto__ = Error.prototype module.exports = Errors = NotFoundError: NotFoundError