Update documentation for add_error interface changes.
See #4.

[ci skip]