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

Struct SentinelHttpError

pkg/modules/api/errors.go:11–14  ·  view source on GitHub ↗

SentinelHttpError is the HTTP sidekick of an error.

Source from the content-addressed store, hash-verified

9
10// SentinelHttpError is the HTTP sidekick of an error.
11type SentinelHttpError struct {
12 status int
13 message string
14}
15
16// NewSentinelHttpError creates a [SentinelHttpError]. The message will be sent
17// as the response's body if returned from a handler, so make sure to not leak

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected