mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-26 19:23:44 +00:00
16 lines
482 B
JavaScript
16 lines
482 B
JavaScript
|
const OError = require('@overleaf/o-error')
|
||
|
|
||
|
class RedisError extends OError {}
|
||
|
class RedisHealthCheckFailed extends RedisError {}
|
||
|
class RedisHealthCheckTimedOut extends RedisHealthCheckFailed {}
|
||
|
class RedisHealthCheckWriteError extends RedisHealthCheckFailed {}
|
||
|
class RedisHealthCheckVerifyError extends RedisHealthCheckFailed {}
|
||
|
|
||
|
module.exports = {
|
||
|
RedisError,
|
||
|
RedisHealthCheckFailed,
|
||
|
RedisHealthCheckTimedOut,
|
||
|
RedisHealthCheckWriteError,
|
||
|
RedisHealthCheckVerifyError,
|
||
|
}
|