RedactionException class final

Raised by direct redaction helpers when an input cannot be sanitized within the configured safety contract.

RedactingInterceptor.call catches this and drops the complete entry.

Implemented types

Constructors

RedactionException(String message)
Creates an exception with a non-confidential diagnostic message.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
A generic diagnostic that never intentionally includes inspected data.
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