Add missing documentation for API errors.

We introduced a number of API errors since we last updated the
documentation for this, but we never added the API docs. These could
still use some work, but at least we now have something to link to.

Reviewed at https://reviews.reviewboard.org/r/5777/