Merge pull request #182 from angathorion/exception-handling
Exception handling, prettification and notification of invalid input.

(main@ad62cfe073add54295506af7730dacf6be443ba3)