RedisProtocolTransformerException abstract class
Base class for all Exceptions.
abstract class RedisProtocolTransformerException implements Exception {
/// The error message of this exception.
final String message;
/// Every subclass can set a base message that will prepend the actual message.
String _baseMessage;
RedisProtocolTransformerException([ this.message ]);
/// Returns the [_baseMessage] with the [message].
String toString() {
if (message != null) {
return "$_baseMessage: $message";
}
return _baseMessage;
}
}
Subclasses
InvalidRedisResponseError, UnexpectedRedisClosureError
Implements
Constructors
new RedisProtocolTransformerException([String message]) #
RedisProtocolTransformerException([ this.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;
}