GoActivityPub Wiki

The documentation page was updated.

Errors

Has wrappers for dealing with specific errors inside our library, mostly focused around dealing with HTTP errors.

The other modules of the library return this types of errors for publicly exposed calls.

Error Handler

The module also provides an http.Handler that operates on them and marshals them with correct HTTP response codes and custom JSON marshaling.

Helpers

There are also a couple of helper functions to evaluate which type of error is, which mostly wrap erorrs.Is() functionality.