---
title: evaluationError
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsscriptobjectspecifier/evaluationerror
---

# evaluationError

Returns the object specifier in which an evaluation error occurred.

## Declaration

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

## Return Value

Return Value The object specifier in which an evaluation error occurred.

## Discussion

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

## See Also

### Getting evaluation errors

- [evaluationErrorNumber](foundation/nsscriptobjectspecifier/evaluationerrornumber.md)
