diff options
| author | Dan Halbert <halbert@adafruit.com> | 2020-02-04 18:41:17 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-04 18:41:17 -0500 |
| commit | 433671f5eb1e4ac94615301c3b41c6a01935274a (patch) | |
| tree | d94265500bd28047df73346068a42787b9050292 /py/runtime.h | |
| parent | 65045eb3bc4c61a5e4c538cdbf93b97f832f251e (diff) | |
| parent | 280e20adbeba23711bef3786e1bb1c7bbc87c825 (diff) | |
Merge pull request #2584 from dhalbert/oserror-with-filename5.0.0-beta.5
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..f81103557 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_, mp_obj_t 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); |
