We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0d4c50 commit 1dcf100Copy full SHA for 1dcf100
experimental/errorsource/error_source.go
@@ -28,6 +28,11 @@ func (r Error) Unwrap() error {
28
return r.err
29
}
30
31
+// Source provides the error source
32
+func (r Error) Source() backend.ErrorSource {
33
+ return r.source
34
+}
35
+
36
// PluginError will apply the source as plugin
37
func PluginError(err error, override bool) error {
38
return SourceError(backend.ErrorSourcePlugin, err, override)
0 commit comments