diff options
| author | Dan Halbert <halbert@halwitz.org> | 2020-02-04 13:32:39 -0500 |
|---|---|---|
| committer | Dan Halbert <halbert@halwitz.org> | 2020-02-04 13:32:39 -0500 |
| commit | 57b566e73614c74a9fc74cd2d2007d91cdb507db (patch) | |
| tree | 46f302c21c5e243cb17997559b93bd6665289573 /py/runtime.h | |
| parent | a4ebd2f7c112dc5d185d198e28e00edabd395a84 (diff) | |
Include filename for 'No such file/directory', etc.
Diffstat (limited to 'py/runtime.h')
| -rw-r--r-- | py/runtime.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/py/runtime.h b/py/runtime.h index 4121352df..319de5bb9 100644 --- a/py/runtime.h +++ b/py/runtime.h @@ -161,6 +161,7 @@ NORETURN void mp_raise_RuntimeError(const compressed_string_t *msg); NORETURN void mp_raise_ImportError(const compressed_string_t *msg); NORETURN void mp_raise_IndexError(const compressed_string_t *msg); NORETURN void mp_raise_OSError(int errno_); +NORETURN void mp_raise_OSError_errno_str(int errno_, const char *str); NORETURN void mp_raise_OSError_msg(const compressed_string_t *msg); NORETURN void mp_raise_OSError_msg_varg(const compressed_string_t *fmt, ...); NORETURN void mp_raise_NotImplementedError(const compressed_string_t *msg); |
