Issue 32: add global errors