We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a70235 commit 141b6d8Copy full SHA for 141b6d8
1 file changed
switch.go
@@ -1,6 +1,6 @@
1
package errorx
2
3
-// CaseNoTrait is a synthetic type used in TypeSwitch, signifying a presence of non-nil error of some other type.
+// NotRecognisedType is a synthetic type used in TypeSwitch, signifying casting error to *Error failed.
4
func NotRecognisedType() *Type { return notRecognisedType }
5
6
// CaseNoError is a synthetic trait used in TraitSwitch, signifying an absence of error.
0 commit comments