From 89af8ba123c53cd135e11b5233980f0777839a51 Mon Sep 17 00:00:00 2001 From: Alasdair Smith Date: Thu, 18 Jan 2018 16:41:26 +0000 Subject: [PATCH] More renaming --- services/web/app/coffee/Features/Errors/Errors.coffee | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/services/web/app/coffee/Features/Errors/Errors.coffee b/services/web/app/coffee/Features/Errors/Errors.coffee index 2797816a9c..d334a5af68 100644 --- a/services/web/app/coffee/Features/Errors/Errors.coffee +++ b/services/web/app/coffee/Features/Errors/Errors.coffee @@ -40,12 +40,12 @@ UnsupportedBrandError = (message) -> return error UnsupportedBrandError.prototype.__proto___ = Error.prototype -UnsupportedPublisherExportsError = (message) -> +UnsupportedExportRecordsError = (message) -> error = new Error(message) - error.name = "UnsupportedPublisherExportsError" - error.__proto__ = UnsupportedPublisherExportsError.prototype + error.name = "UnsupportedExportRecordsError" + error.__proto__ = UnsupportedExportRecordsError.prototype return error -UnsupportedPublisherExportsError.prototype.__proto___ = Error.prototype +UnsupportedExportRecordsError.prototype.__proto___ = Error.prototype module.exports = Errors = NotFoundError: NotFoundError @@ -54,4 +54,4 @@ module.exports = Errors = InvalidNameError: InvalidNameError UnsupportedFileTypeError: UnsupportedFileTypeError UnsupportedBrandError: UnsupportedBrandError - UnsupportedPublisherExportsError: UnsupportedPublisherExportsError + UnsupportedExportRecordsError: UnsupportedExportRecordsError