We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d643ae2 + 41eb805 commit 4fc17f8Copy full SHA for 4fc17f8
1 file changed
errutil_api.go
@@ -15,11 +15,19 @@
15
package errors
16
17
import (
18
+ "errors"
19
+
20
"github.com/cockroachdb/errors/barriers"
21
"github.com/cockroachdb/errors/errbase"
22
"github.com/cockroachdb/errors/errutil"
23
)
24
25
+// ErrUnsupported indicates that a requested operation cannot be
26
+// performed, because it is unsupported. This is the same value as
27
+// the standard library's errors.ErrUnsupported, re-exported here
28
+// for drop-in compatibility.
29
+var ErrUnsupported = errors.ErrUnsupported
30
31
// New creates an error with a simple error message.
32
// A stack trace is retained.
33
//
0 commit comments