MIDIError
public enum MIDIError : String, Error
Undocumented
-
Undocumented
Declaration
Swift
case midiInvalidClient = "An invalid MIDIClientRef was passed." -
Undocumented
Declaration
Swift
case midiInvalidPort = "An invalid MIDIPortRef was passed." -
Undocumented
Declaration
Swift
case midiWrongEndpointType = "A source endpoint was passed to a function expecting a destination, or vice versa." -
Undocumented
Declaration
Swift
case midiNoConnection = "Attempt to close a non-existant connection." -
Undocumented
Declaration
Swift
case midiUnknownEndpoint = "An invalid MIDIEndpointRef was passed." -
Undocumented
Declaration
Swift
case midiUnknownProperty = "Attempt to query a property not set on the object." -
Undocumented
Declaration
Swift
case midiWrongPropertyType = "Attempt to set a property with a value not of the correct type." -
Undocumented
Declaration
Swift
case midiNoCurrentSetup = "Internal error; there is no current MIDI setup object." -
Undocumented
Declaration
Swift
case midiMessageSendErr = "Communication with MIDIServer failed." -
Undocumented
Declaration
Swift
case midiServerStartErr = "Unable to start MIDIServer." -
Undocumented
Declaration
Swift
case midiSetupFormatErr = "Unable to read the saved state." -
Undocumented
Declaration
Swift
case midiWrongThread = "A driver is calling a non-I/O function in the server from a thread other than the server's main thread." -
Undocumented
Declaration
Swift
case midiObjectNotFound = "The requested object does not exist." -
Undocumented
Declaration
Swift
case midiIDNotUnique = "Attempt to set a non-unique kMIDIPropertyUniqueID on an object." -
Undocumented
Declaration
Swift
case midiNotPermitted = "The process does not have privileges for the requested operation." -
Undocumented
Declaration
Swift
case midiUnknownError = "Internal error; unable to perform the requested operation." -
Undocumented
Declaration
Swift
case midiWrongObjectType = "MIDI object is not of expected type" -
Undocumented
Declaration
Swift
public init(_ error: OSStatus) -
Undocumented
Declaration
Swift
public static func validateNoError(_ status: OSStatus) throws
View on GitHub
Install in Dash
MIDIError Enumeration Reference