MCPcopy Create free account
hub / github.com/gotenberg/gotenberg / HttpError

Method HttpError

pkg/modules/api/errors.go:32–34  ·  view source on GitHub ↗

HttpError returns the status and message.

()

Source from the content-addressed store, hash-verified

30
31// HttpError returns the status and message.
32func (err SentinelHttpError) HttpError() (int, string) {
33 return err.status, err.message
34}
35
36// sentinelWrappedError contains both the error which will logged and the
37// sidekick [SentinelHttpError].

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected