SecurityException class

Exception thrown when there is a security-related error in Redis operations.

This can occur due to authentication failures, permission issues, or other security-related problems.

Example:

try {
  await storage.put('key', 'value');
} catch (e) {
  if (e is SecurityException) {
    // Handle security error
  }
}
Implemented types

Constructors

SecurityException.new(String message)
Creates a new SecurityException with the given message.

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
The error message describing the security issue.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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