User friendly exceptions

Replace for PR #101