Clean up core:time to be consistent across all platforms
This commit is contained in:
1 parent
97739da85a
commit
f002857edc
11 files changed
+159
-138
No files matched your search
@@ -14,6 +14,7 @@ General_Error :: enum u32 {
|
||||
Timeout,
|
||||
|
||||
Invalid_File,
|
||||
Invalid_Dir,
|
||||
Invalid_Path,
|
||||
|
||||
Unsupported,
|
||||
@@ -51,6 +52,7 @@ error_string :: proc(ferr: Error) -> string {
|
||||
case .Closed: return "file already closed"
|
||||
case .Timeout: return "i/o timeout"
|
||||
case .Invalid_File: return "invalid file"
|
||||
case .Invalid_Dir: return "invalid directory"
|
||||
case .Invalid_Path: return "invalid path"
|
||||
case .Unsupported: return "unsupported"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user