mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-20 04:44:04 +00:00
More renaming
This commit is contained in:
parent
f8a068ee9e
commit
89af8ba123
1 changed files with 5 additions and 5 deletions
|
@ -40,12 +40,12 @@ UnsupportedBrandError = (message) ->
|
||||||
return error
|
return error
|
||||||
UnsupportedBrandError.prototype.__proto___ = Error.prototype
|
UnsupportedBrandError.prototype.__proto___ = Error.prototype
|
||||||
|
|
||||||
UnsupportedPublisherExportsError = (message) ->
|
UnsupportedExportRecordsError = (message) ->
|
||||||
error = new Error(message)
|
error = new Error(message)
|
||||||
error.name = "UnsupportedPublisherExportsError"
|
error.name = "UnsupportedExportRecordsError"
|
||||||
error.__proto__ = UnsupportedPublisherExportsError.prototype
|
error.__proto__ = UnsupportedExportRecordsError.prototype
|
||||||
return error
|
return error
|
||||||
UnsupportedPublisherExportsError.prototype.__proto___ = Error.prototype
|
UnsupportedExportRecordsError.prototype.__proto___ = Error.prototype
|
||||||
|
|
||||||
module.exports = Errors =
|
module.exports = Errors =
|
||||||
NotFoundError: NotFoundError
|
NotFoundError: NotFoundError
|
||||||
|
@ -54,4 +54,4 @@ module.exports = Errors =
|
||||||
InvalidNameError: InvalidNameError
|
InvalidNameError: InvalidNameError
|
||||||
UnsupportedFileTypeError: UnsupportedFileTypeError
|
UnsupportedFileTypeError: UnsupportedFileTypeError
|
||||||
UnsupportedBrandError: UnsupportedBrandError
|
UnsupportedBrandError: UnsupportedBrandError
|
||||||
UnsupportedPublisherExportsError: UnsupportedPublisherExportsError
|
UnsupportedExportRecordsError: UnsupportedExportRecordsError
|
||||||
|
|
Loading…
Reference in a new issue