mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Add unsupported project error
This commit is contained in:
parent
cd4d27c587
commit
950ef0cebb
1 changed files with 7 additions and 0 deletions
|
@ -33,6 +33,13 @@ UnsupportedFileTypeError = (message) ->
|
||||||
return error
|
return error
|
||||||
UnsupportedFileTypeError.prototype.__proto___ = Error.prototype
|
UnsupportedFileTypeError.prototype.__proto___ = Error.prototype
|
||||||
|
|
||||||
|
UnsupportedProjectError = (message) ->
|
||||||
|
error = new Error(message)
|
||||||
|
error.name = "UnsupportedProjectError"
|
||||||
|
error.__proto__ = UnsupportedProjectError.prototype
|
||||||
|
return error
|
||||||
|
UnsupportedProjectError.prototype.__proto___ = Error.prototype
|
||||||
|
|
||||||
module.exports = Errors =
|
module.exports = Errors =
|
||||||
NotFoundError: NotFoundError
|
NotFoundError: NotFoundError
|
||||||
ServiceNotConfiguredError: ServiceNotConfiguredError
|
ServiceNotConfiguredError: ServiceNotConfiguredError
|
||||||
|
|
Loading…
Reference in a new issue