Package datadog.trace.api.aiguard
Class AIGuard.AIGuardAbortError
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
datadog.trace.api.aiguard.AIGuard.AIGuardAbortError
- All Implemented Interfaces:
Serializable
- Enclosing class:
AIGuard
Exception thrown when AIGuard evaluation results in blocking the execution due to security
concerns.
Important: This exception is thrown when the evaluation action is not
ALLOW (i.e., DENY or ABORT) and blocking mode is enabled.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAIGuardAbortError(AIGuard.Action action, String reason, List<String> tags, Map<String, Number> tagProbs, List<?> sds) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AIGuardAbortError
-
-
Method Details
-
getAction
-
getReason
-
getTags
-
getTagProbabilities
-
getSds
-