|
|
|
|
@ -18,6 +18,12 @@ var ( |
|
|
|
|
// ErrMethodNotImplemented error returned when a plugin method is not implemented.
|
|
|
|
|
ErrMethodNotImplemented = errMethodNotImplementedBase.Errorf("method not implemented") |
|
|
|
|
|
|
|
|
|
// ErrPluginHealthCheck error returned when a plugin fails its health check.
|
|
|
|
|
// Exposed as a base error to wrap it with plugin error.
|
|
|
|
|
ErrPluginHealthCheck = errutil.Internal("plugin.healthCheck", |
|
|
|
|
errutil.WithPublicMessage("Plugin health check failed"), |
|
|
|
|
errutil.WithDownstream()) |
|
|
|
|
|
|
|
|
|
// ErrPluginDownstreamError error returned when a plugin request fails.
|
|
|
|
|
// Exposed as a base error to wrap it with plugin downstream errors.
|
|
|
|
|
ErrPluginDownstreamErrorBase = errutil.Internal("plugin.downstreamError", |
|
|
|
|
|