Skip to content

Commit 69abb88

Browse files
committed
refactor: added ErrorCodeNil constant
1 parent 6989c3d commit 69abb88

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

types.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@ type (
44
// ErrorCode is a type for error codes.
55
ErrorCode uint16
66
)
7+
8+
const (
9+
ErrorCodeNil ErrorCode = 0
10+
)

0 commit comments

Comments
 (0)