MCPcopy Create free account
hub / github.com/netlify/gotrue / WithInternalError

Method WithInternalError

api/errors.go:107–110  ·  view source on GitHub ↗

WithInternalError adds internal error information to the error

(err error)

Source from the content-addressed store, hash-verified

105
106// WithInternalError adds internal error information to the error
107func (e *HTTPError) WithInternalError(err error) *HTTPError {
108 e.InternalError = err
109 return e
110}
111
112// WithInternalMessage adds internal message information to the error
113func (e *HTTPError) WithInternalMessage(fmtString string, args ...interface{}) *HTTPError {

Callers 15

samlCallbackMethod · 0.45
SAMLMetadataMethod · 0.45
addGetBodyFunction · 0.45
loadInstanceConfigMethod · 0.45
requireAdminMethod · 0.45
RecoverMethod · 0.45
processInviteMethod · 0.45
oAuthCallbackMethod · 0.45
InviteMethod · 0.45
triggerMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected