Dart Documentationredis_protocol_transformerErrorReply

ErrorReply class

Used for error replies

class ErrorReply extends _OneLineReply {

 /// Returns the error received with this reply.
 String get error => _getLine();

 String toString() => "ErrorReply: $error";
}

Extends

RedisReply > _OneLineReply > ErrorReply

Properties

final bool done #

inherited from _OneLineReply

Specifies if this reply has been fully received.

bool get done => _dataConsumer.done;

final String error #

Returns the error received with this reply.

String get error => _getLine();

Methods

String toString() #

Returns a string representation of this object.

docs inherited from Object
String toString() => "ErrorReply: $error";