Adds an error message to errors. Fixes #16

This could be better if it could distinguish between server errors
and actually unknown errors (known unknowns), but that would require
the server to provide JSON errors.