import ErrorException from the ErrorHandler