Feature/15 error notifications

Fixes #290.