---
title: errorNumber
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/nsapplescript/errornumber
---

# errorNumber

An NSNumber that specifies the error number.

## Declaration

```swift
class let errorNumber: String
```

## See Also

### Constants

- [errorMessage](foundation/nsapplescript/errormessage.md)
- [errorAppName](foundation/nsapplescript/errorappname.md)
- [errorBriefMessage](foundation/nsapplescript/errorbriefmessage.md)
- [errorRange](foundation/nsapplescript/errorrange.md)
