Implemented error handling functionality for contentHandler.