MCPcopy Index your code
hub / github.com/coder/coder / NewHTTPError

Function NewHTTPError

enterprise/coderd/scim/scimtypes.go:65–73  ·  view source on GitHub ↗
(status int, eType string, err error)

Source from the content-addressed store, hash-verified

63}
64
65func NewHTTPError(status int, eType string, err error) *HTTPError {
66 return &HTTPError{
67 scim: &spec.Error{
68 Status: status,
69 Type: eType,
70 },
71 internal: err,
72 }
73}
74
75func (e HTTPError) Error() string {
76 return e.internal.Error()

Callers 6

TestScimErrorFunction · 0.92
scimUnauthorizedFunction · 0.92
scimGetUserMethod · 0.92
scimPostUserMethod · 0.92
scimPatchUserMethod · 0.92
scimPutUserMethod · 0.92

Calls

no outgoing calls

Tested by 1

TestScimErrorFunction · 0.74