Check arguments and generate readable error messages

WWW: https://flujoo.github.io/erify
