Dart Documentationredis_protocol_transformerUnexpectedRedisClosureError

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 #

The error message of this exception.

final String message

Methods

String toString() #

Returns the _baseMessage with the message.

String toString() {
 if (message != null) {
   return "$_baseMessage: $message";
 }
 return _baseMessage;
}