the handler should return true/false to say whether the error was handled or not.