import { RedisError } from "redis-errors" ; export default class ClusterAllFailedError extends RedisError { constructor ( message , public lastNodeError ) { super ( message ) ; Error . captureStackTrace ( this , this . constructor ) ; } get name ( ) : string { return this . constructor . name ; } }