add: some helper functions has been added.
add: exception error handler option has been added.
fix: should have to check the maximum event size limit before event registering.