UnexpectedRedisClosureError class
This exception is thrown whenever the redis stream closed unexpectedly
class UnexpectedRedisClosureError extends RedisProtocolTransformerException {
final String _baseMessage = "The redis connection closed unexpectedly";
UnexpectedRedisClosureError(message) : super(message);
}
Extends
RedisProtocolTransformerException > UnexpectedRedisClosureError
Constructors
new UnexpectedRedisClosureError(message) #
UnexpectedRedisClosureError(message) : super(message);
Properties
final String message #
inherited from RedisProtocolTransformerException
The error message of this exception.
final String message
Methods
String toString() #
inherited from RedisProtocolTransformerException
Returns the _baseMessage with the message.
String toString() {
if (message != null) {
return "$_baseMessage: $message";
}
return _baseMessage;
}