Better error handling for writer functions

This commit is contained in:
Riyyi
2026-08-09 17:11:30 +02:00
parent 4035ff48f3
commit 5fcdba2c22
8 changed files with 141 additions and 92 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ read_header :: proc(
}
if r.header.compression != 0 {
return .Unimplemented
return Read_Error.Unimplemented
}
return nil