MNT: Refactor constants (comments welcome)

closes #209 
I see. Those two lines are the places where the errors are caught. Clear.