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

Method Internal

coderd/rbac/error.go:86–88  ·  view source on GitHub ↗

Internal allows the internal error message to be logged.

()

Source from the content-addressed store, hash-verified

84
85// Internal allows the internal error message to be logged.
86func (e *UnauthorizedError) Internal() error {
87 return e.internal
88}
89
90func (e *UnauthorizedError) SetInternal(err error) {
91 e.internal = err

Callers 4

testAuthorizeFunction · 0.95
AuthorizeMethod · 0.80
AuthorizeContextMethod · 0.80
logNotAuthorizedErrorFunction · 0.80

Calls

no outgoing calls

Tested by 1

testAuthorizeFunction · 0.76