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

Method longError

coderd/rbac/error.go:70–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68}
69
70func (e *UnauthorizedError) longError() string {
71 return fmt.Sprintf(
72 "%s: (subject: %v), (action: %v), (object: %v), (output: %v)",
73 errUnauthorized, e.subject, e.action, e.object, e.output,
74 )
75}
76
77// Error implements the error interface.
78func (e UnauthorizedError) Error() string {

Callers 1

ErrorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected