SuspiciousArchiveFailure class final

The archive looks hostile: zip bomb, path traversal, absurd entry count.

Inheritance

Constructors

SuspiciousArchiveFailure({required SuspiciousReason reason, String? detail})
Creates the failure, explaining why with reason.
const

Properties

code → String
Stable identifier, safe to use as a telemetry key or in tests.
no setteroverride
detail → String?
Diagnostic detail for logs. Never show this to users.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
reason → SuspiciousReason
Which check rejected the archive.
final
recovery → RecoveryHint
What the user could do to get past this.
no setteroverride
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.
inherited

Operators

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