<!--
{
  "availability" : [
    "macCatalyst: 13.0.0 -",
    "macOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSScriptObjectSpecifier/evaluationError",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSScriptObjectSpecifier(py)evaluationErrorSpecifier"
  },
  "title" : "evaluationError"
}
-->

# evaluationError

Returns the object specifier in which an evaluation error occurred.

```
var evaluationError: NSScriptObjectSpecifier? { get }
```

## Return Value

The object specifier in which an evaluation error occurred.

## Discussion

The object specifier failing to evaluate could be the receiver or any container specifier “above” the receiver.

---

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)