added inputError macro

A můžeš to spojit do jednoho commitu? http://eli.thegreenplace.net/2014/02/19/squashing-github-pull-requests-into-a-single-commit