Unity - Scripting API: ErrorCode
enumeration
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Description
An enumeration that defines the specific types of errors that can occur during Package Manager operations.
Notes:
- Use
ErrorCodein conjunction with Error.message for detailed error information. - Different operations can produce different error codes.
Properties
| Property | Description |
|---|---|
| Unknown | Operation resulted in an unknown error. |
| NotFound | A package required to fulfill the operation was not found. |
| Forbidden | Operation was not allowed. |
| InvalidParameter | Operation had invalid parameters. |
| Conflict | Conflicting package versions were found. |
| AggregateError | One or more errors occurred during the operation. |
| ConnectionError | Network error occurred during the operation. |