Implement ErrorLine and command exceptions