Skip to content

Commit 66e2aaa

Browse files
authored
revise documentation for NotRecognisedType
1 parent cbe2f6d commit 66e2aaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

switch.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package errorx
22

3-
// NotRecognisedType is a synthetic type used in TypeSwitch, signifying casting error to *Error failed.
3+
// NotRecognisedType is a synthetic type used in TypeSwitch, signifying a presence of non-nil error of some other type.
44
func NotRecognisedType() *Type { return notRecognisedType }
55

66
// CaseNoError is a synthetic trait used in TraitSwitch, signifying an absence of error.

0 commit comments

Comments
 (0)