From f578e82046a2ac79be04c52cec3f05c05c04b908 Mon Sep 17 00:00:00 2001 From: "daniel.w" Date: Wed, 13 Nov 2024 12:03:14 +0800 Subject: [PATCH] update code --- errs/error_code.go | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 errs/error_code.go diff --git a/errs/error_code.go b/errs/error_code.go new file mode 100644 index 0000000..7df57c3 --- /dev/null +++ b/errs/error_code.go @@ -0,0 +1,7 @@ +package errs + +type ErrorCode uint32 + +func (e ErrorCode) ToUint32() uint32 { + return uint32(e) +}