Practice ยท 1 of 2
Translate the Cause
Implement parse_count(text) that converts text to int, raising ValidationError('not a count: <text>') when it fails โ chained from the original error (raise ... from exc).
Difficulty: intermediate
Press Submit to check your solution.
Back to lesson: Practice: Chaining Drills