We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6c2e1d commit 4f8bcb0Copy full SHA for 4f8bcb0
wrap.go
@@ -6,7 +6,7 @@ var (
6
7
// Private error type for non-errors errors, used as a not-nil substitute that cannot be type-checked directly
8
foreignType = syntheticErrors.NewType("foreign")
9
- // Private error type used as a universal wrapper, meant to ann nothing at all to the error apart from some message
+ // Private error type used as a universal wrapper, meant to add nothing at all to the error apart from some message
10
transparentWrapper = syntheticErrors.NewType("decorate").ApplyModifiers(TypeModifierTransparent)
11
// Private error type used as a densely opaque wrapper which hides both the original error and its own type
12
opaqueWrapper = syntheticErrors.NewType("wrap")
0 commit comments