mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
add V1HistoryNotSyncedError
This commit is contained in:
parent
40da785363
commit
ba0e06d0fe
1 changed files with 8 additions and 0 deletions
|
@ -47,6 +47,13 @@ UnsupportedExportRecordsError = (message) ->
|
||||||
return error
|
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
|
||||||
|
|
||||||
ProjectHistoryDisabledError = (message) ->
|
ProjectHistoryDisabledError = (message) ->
|
||||||
error = new Error(message)
|
error = new Error(message)
|
||||||
error.name = "ProjectHistoryDisabledError "
|
error.name = "ProjectHistoryDisabledError "
|
||||||
|
@ -62,4 +69,5 @@ module.exports = Errors =
|
||||||
UnsupportedFileTypeError: UnsupportedFileTypeError
|
UnsupportedFileTypeError: UnsupportedFileTypeError
|
||||||
UnsupportedBrandError: UnsupportedBrandError
|
UnsupportedBrandError: UnsupportedBrandError
|
||||||
UnsupportedExportRecordsError: UnsupportedExportRecordsError
|
UnsupportedExportRecordsError: UnsupportedExportRecordsError
|
||||||
|
V1HistoryNotSyncedError: V1HistoryNotSyncedError
|
||||||
ProjectHistoryDisabledError: ProjectHistoryDisabledError
|
ProjectHistoryDisabledError: ProjectHistoryDisabledError
|
||||||
|
|
Loading…
Reference in a new issue