Begin converting os.Errno to be a nil-able type as a transition period
This commit is contained in:
1 parent
71932628cc
commit
e60951a902
22 files changed
+1165
-666
No files matched your search
@@ -142,7 +142,7 @@ _errno_strings : [linux.Errno]string = {
|
||||
}
|
||||
|
||||
|
||||
_get_platform_error :: proc(errno: linux.Errno) -> Error {
|
||||
_get_platform_Platform_Error :: proc(errno: linux.Errno) -> Error {
|
||||
#partial switch errno {
|
||||
case .NONE:
|
||||
return nil
|
||||
|
||||
Reference in new issue
Block a user