Are the Lemmy API error responses documented anywhere?

https://lemmy.world/post/1173576

Are the Lemmy API error responses documented anywhere? - Lemmy.world

I’ve been looking at the rest client built into Jerboa, to see if I could maybe contribute to making error handling a bit better. The Lemmy API docs [https://join-lemmy.org/api/classes/LemmyHttp.html] don’t seem to list the error codes/error bodies that can be returned by the API. Are these documented somewhere else? Or do I need to start reading the Rust code of the server itself?