MaskingResolverException

class MaskingResolverException(val resource: String, val cause: Throwable) : RuntimeException

Thrown by DefaultMaskingEngine when the policy resolver fails and the engine is configured with ResolverErrorMode.FAIL_REQUEST, so a resolver outage surfaces as an error (an adapter maps it to a 5xx) instead of a silently masked {} that reports success.

The MaskingFailureSink is notified with FailReason.RESOLVER_ERROR before this is thrown, so fail-request is strictly more observable than mask-all, never less. See ADR 0011.

Constructors

Link copied to clipboard
constructor(resource: String, cause: Throwable)

Properties

Link copied to clipboard
open override val cause: Throwable
Link copied to clipboard
expect open val message: String?
Link copied to clipboard

the resource whose policy could not be resolved.