<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "TrustInsights",
  "identifier" : "/documentation/TrustInsights/InsightEvaluator/EvaluationError",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Trust Insights"
    ],
    "preciseIdentifier" : "s:13TrustInsights16InsightEvaluatorC15EvaluationErrorO"
  },
  "title" : "InsightEvaluator.EvaluationError"
}
-->

# InsightEvaluator.EvaluationError

Errors the framework can return if there are errors processing an evaluation request.

```
@nonexhaustive enum EvaluationError
```

## Topics

### Evaluation errors

[`case contextInvalid(String)`](/documentation/TrustInsights/InsightEvaluator/EvaluationError/contextInvalid(_:))

An error that indicates the framework couldn’t produce an evaluation for the provided context.

[`case denied`](/documentation/TrustInsights/InsightEvaluator/EvaluationError/denied)

An error that indicates evaluations are unavailable due to a person’s options.

[`case localError`](/documentation/TrustInsights/InsightEvaluator/EvaluationError/localError)

An error that indicates the framework couldn’t complete the evaluation.

[`case notAvailable`](/documentation/TrustInsights/InsightEvaluator/EvaluationError/notAvailable)

An error that indicates evaluations are not available on this device.

[`case rateLimitExceeded`](/documentation/TrustInsights/InsightEvaluator/EvaluationError/rateLimitExceeded)

An error that indicates the framework has received too many requests.

[`case serverError`](/documentation/TrustInsights/InsightEvaluator/EvaluationError/serverError)

An error that indicates the framework couldn’t complete the evaluation due to server or network issues.

### Enumeration Cases

[`case payloadSecurityError`](/documentation/TrustInsights/InsightEvaluator/EvaluationError/payloadSecurityError)

Server returned payload contains security related error and should not be trusted. This may indicate that the payload
has been tampered with.

## Relationships

### Conforms To

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`LocalizedError`](/documentation/Foundation/LocalizedError)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Decodable`](/documentation/Swift/Decodable)

[`Encodable`](/documentation/Swift/Encodable)

[`Error`](/documentation/Swift/Error)

[`Sendable`](/documentation/Swift/Sendable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)