EventException constructor

EventException(
  1. String message,
  2. ErrorCodes code
)

Constructor for exception

Implementation

EventException(
  this.message,
  this.code,
);