Why does the compiler decay the FileError and the global error set to an integer? If they were unique types, the if statement would not have compiled.
As I stated before, this error wouldn't even exist in the first place in no codebase ever: look how the method that fails returns a `FileError` and not an `anyerror`
It could be rightly argued that it still shouldn't compile though.