mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 06:51:13 +08:00
Chore: Handle wrapped errors (#29223)
* Chore: Handle wrapped errors Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
This commit is contained in:
@ -49,6 +49,7 @@ func (e duplicatePluginError) Error() string {
|
||||
}
|
||||
|
||||
func (e duplicatePluginError) Is(err error) bool {
|
||||
// nolint:errorlint
|
||||
_, ok := err.(duplicatePluginError)
|
||||
return ok
|
||||
}
|
||||
|
Reference in New Issue
Block a user