Dart Documentationredis_protocol_transformerInvalidRedisResponseError

InvalidRedisResponseError class

This exception is thrown whenever a redis response is incorrect.

class InvalidRedisResponseError extends RedisProtocolTransformerException {

 final String _baseMessage = "Invalid redis response";

 InvalidRedisResponseError(message) : super(message);

}

Extends

RedisProtocolTransformerException > InvalidRedisResponseError

Constructors

new InvalidRedisResponseError(message) #

InvalidRedisResponseError(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;
}