Get Error Type Python Function Documentation Example