lib/error.js
function MIDIInvalidEventError(message) {
    Error.call(this);
    Error.captureStackTrace(this, this.constructor);

    this.name = this.constructor.name;
    this.message = message;
}
function MIDIInvalidEventError(message) {
    Error.call(this);
    Error.captureStackTrace(this, this.constructor);

    this.name = this.constructor.name;
    this.message = message;
}
function MIDIInvalidEventError ( message ) { Error . call ( this ) ; Error . captureStackTrace ( this , this . constructor ) ; this . name = this . constructor . name ; this . message = message ; }
Construct a new MIDIInvalidEventError

@class MIDIInvalidEventError
@extends Error
@classdesc An error that occured if an event was malformed

@param {string} message Error message
Construct a new MIDIInvalidEventError