---
title: "init(messageID:messageSize:driverDevice:errorCode:)"
framework: coremidi
role: symbol
role_heading: Initializer
path: "coremidi/midiioerrornotification/init(messageid:messagesize:driverdevice:errorcode:)"
---

# init(messageID:messageSize:driverDevice:errorCode:)

## Declaration

```swift
init(messageID: MIDINotificationMessageID, messageSize: UInt32, driverDevice: MIDIDeviceRef, errorCode: OSStatus)
```

## See Also

### Creating an error notification

- [init()](coremidi/midiioerrornotification/init().md)
