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
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