VNErrorCode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates errors associated with Vision requests.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public enum VNErrorCode
type VNErrorCode =
- Inheritance
-
VNErrorCode
- Attributes
Fields
Name | Value | Description |
---|---|---|
Ok | 0 | Indicates that no error occurred. |
RequestCancelled | 1 | Indicates that the request was cancelled, either by the user or programmatically. |
InvalidFormat | 2 | Indicates an error relating to the image format. |
OperationFailed | 3 | Indicates that the request failed in the underlying Core ML model. |
OutOfBoundsError | 4 | Indicates an error relating to either an array or normalized units. |
InvalidOption | 5 | Indicates an error relating to request options. |
IOError | 6 | Indicates an error relating to the IO of the image, images, or underlying Core ML model. |
MissingOption | 7 | Indicates that a required option was not specified by the developer. |
NotImplemented | 8 | Indicates that the underlying model can not answer the request. |
InternalError | 9 | An error occurred within the Vision system services. |
OutOfMemory | 10 | Indicates that the request cannot be completed with the memory available to the app. |
UnknownError | 11 | Indicates an error of a non-determined type. |
InvalidOperation | 12 | Indicates that the requested operation is not supported on this image or image sequence. |
InvalidImage | 13 | Indicates a non-specific error relating to the image. |
InvalidArgument | 14 | An incompatible argument was passed to a vision request. |
InvalidModel | 15 | Indicates that the underlying CoreML model is invalid or incompatible with the request. |
UnsupportedRevision | 16 |