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) +}