Skip to content

Commit 141b6d8

Browse files
committed
fix documentation for NotRecognisedType
1 parent 7a70235 commit 141b6d8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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-
// CaseNoTrait is a synthetic type used in TypeSwitch, signifying a presence of non-nil error of some other type.
3+
// NotRecognisedType is a synthetic type used in TypeSwitch, signifying casting error to *Error failed.
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)