events: allow error observer to return true/false

The error observer can return whether the error was handled or not.