improved compatibility with Mojolicious 5.00. Chaged the signature of
the error event callback
meta again