DecryptionFailedException class

Thrown when decryption or padding check fails after successful MAC.

Inheritance

Constructors

DecryptionFailedException.new({Object? cause, StackTrace? stackTrace})

Properties

cause Object?
Optional cause (low-level exception) for diagnostics.
finalinherited
code String
Stable error code (not localized) for programmatic handling.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
message String
Human-readable, generic message safe to show to users.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace?
Optional stack trace from the originating error.
finalinherited

Methods

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

Operators

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