You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-10 11:43:01 +03:00
30 lines
599 B
TypeScript
30 lines
599 B
TypeScript
export class AbortError extends Error {
|
|
constructor() {
|
|
super('The command was aborted');
|
|
}
|
|
}
|
|
|
|
export class WatchError extends Error {
|
|
constructor() {
|
|
super('One (or more) of the watched keys has been changed');
|
|
}
|
|
}
|
|
|
|
export class ConnectionTimeoutError extends Error {
|
|
constructor() {
|
|
super('Connection timeout');
|
|
}
|
|
}
|
|
|
|
export class ClientClosedError extends Error {
|
|
constructor() {
|
|
super('The client is closed');
|
|
}
|
|
}
|
|
|
|
export class DisconnectsClientError extends Error {
|
|
constructor() {
|
|
super('Disconnects client');
|
|
}
|
|
}
|