RedisCommandError class

A representation of a Redis error when a command fails, e.g. when the args are invalid or the node is not ready.

Implemented types

Constructors

RedisCommandError(String message, {required String command, List<Object?>? args = const <String>[], required StackTrace stackTrace})

Properties

args List<Object?>?
The arguments passed to the command.
final
command String
The command that caused the error.
final
hashCode int
The hash code for this object.
no setterinherited
message String
The error message returned by Redis.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace
The stack trace at the point where this error was first thrown.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited