mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Add errutils helpers (#73577)
Add helpers for the errutil package in favor of errutil.NewBase.
This commit is contained in:
committed by
GitHub
parent
1cc226e689
commit
040b7d2571
@@ -13,7 +13,7 @@ import (
|
||||
"github.com/grafana/grafana/pkg/util/errutil"
|
||||
)
|
||||
|
||||
var ErrInternal = errutil.NewBase(errutil.StatusInternal, "accesscontrol.internal")
|
||||
var ErrInternal = errutil.Internal("accesscontrol.internal")
|
||||
|
||||
// RoleRegistration stores a role and its assignments to built-in roles
|
||||
// (Viewer, Editor, Admin, Grafana Admin)
|
||||
|
||||
Reference in New Issue
Block a user