aboutsummaryrefslogtreecommitdiff
path: root/src/check_expr.cpp
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2026-02-11 22:52:24 +0100
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2026-02-11 22:52:24 +0100
commitb18f75c41c4a78c1e368908ee0bfbba8efa1c494 (patch)
tree2b4afd55b88d9462cc3a9dbaff90c1fede13c19f /src/check_expr.cpp
parentb82512b4cfca4f5e357d1510696f6665755df6f9 (diff)
Make `core:flags` file open errors more readable
If it fails because the file doesn't exist: [Open_File_Error#2] Unable to open "foo.file". File not found. If it does exist and the flags are simple (.Read, .Write or both), it'll say this: [Open_File_Error#2] Unable to open "foo.file" with perms 0o444 as read-only It it does exist but fails to open for other reasons, it'll print: [Open_File_Error#2] Unable to open "foo.file" with perms 0o444 and flags File_Flags{....} Future work: Translate permissions from octal to `ls -al` format (e.g. `-rwxrwxrwx`).
Diffstat (limited to 'src/check_expr.cpp')
0 files changed, 0 insertions, 0 deletions