event() displays error object