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

Method Errors

coderd/database/dbauthz/setup_test.go:479–482  ·  view source on GitHub ↗

Errors is optional. If it is never called, it will not be asserted.

(err error)

Source from the content-addressed store, hash-verified

477
478// Errors is optional. If it is never called, it will not be asserted.
479func (m *expects) Errors(err error) *expects {
480 m.err = err
481 return m
482}
483
484func (m *expects) FailSystemObjectChecks() *expects {
485 return m.WithSuccessAuthorizer(func(ctx context.Context, subject rbac.Subject, action policy.Action, obj rbac.Object) error {

Callers 4

TestUserMethod · 0.45
TestTailnetFunctionsMethod · 0.45
TestSystemFunctionsMethod · 0.45
TestPrebuildsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected