grafana-plugin-sdk-go
grafana-plugin-sdk-go copied to clipboard
Deprecate and remove experimental error source middleware
From https://github.com/grafana/grafana-plugin-sdk-go/pull/1106#pullrequestreview-2360581383:
- Deprecate
experimental/errorsource
and point plugin developers use non-experimental versions of functions. - We should probably export
errorWithSourceImpl
and use it inexperimental/errorsource
instead ofError
to ensure that all methods are working as intended with a new middleware. Specifically we needResponse
to work. - We should add methods/options that add error source, but will not override it if it exists