Add custom exceptions; use said custom exceptions.
Merge branch 'master' of github.com:Dragory/Pupil