<!--
{
  "documentType" : "article",
  "framework" : "CreateML",
  "identifier" : "/documentation/CreateML/MLCreateError/CustomNSError-Implementations",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "CustomNSError Implementations"
}
-->

# CustomNSError Implementations

## Topics

### Instance Properties

[`var errorCode: Int`](/documentation/CreateML/MLCreateError/errorCode)

The numeric code of this error.

[`var errorUserInfo: [String : Any]`](/documentation/CreateML/MLCreateError/errorUserInfo)

A dictionary that provides additional information about the error.

---

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)