MCPcopy
hub / github.com/grafana/tempo / isExtensionError

Function isExtensionError

modules/overrides/extension.go:304–307  ·  view source on GitHub ↗

isExtensionError reports whether err (or any error in its chain) is an extensionError.

(err error)

Source from the content-addressed store, hash-verified

302
303// isExtensionError reports whether err (or any error in its chain) is an extensionError.
304func isExtensionError(err error) bool {
305 var e *extensionError
306 return errors.As(err, &e)
307}
308
309// isRegisteredExtensionLegacyKey reports whether key matches a flat legacy key declared by any
310// registered extension. Must be called with extensionRegistry.RLock held.

Callers 2

UnmarshalYAMLMethod · 0.85
UnmarshalYAMLMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected