VNErrorCode Enum

Definition

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

InternalError 9

An error occurred within the Vision system services.

InvalidArgument 14

An incompatible argument was passed to a vision request.

InvalidFormat 2

Indicates an error relating to the image format.

InvalidImage 13

Indicates a non-specific error relating to the image.

InvalidModel 15

Indicates that the underlying CoreML model is invalid or incompatible with the request.

InvalidOperation 12

Indicates that the requested operation is not supported on this image or image sequence.

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.

Ok 0

Indicates that no error occurred.

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.

OutOfMemory 10

Indicates that the request cannot be completed with the memory available to the app.

RequestCancelled 1

Indicates that the request was cancelled, either by the user or programmatically.

UnknownError 11

Indicates an error of a non-determined type.

UnsupportedRevision 16

Applies to