Translate exceptions
Improve code documentation