summaryrefslogtreecommitdiff
path: root/py/runtime.h
diff options
context:
space:
mode:
authorDan Halbert <halbert@adafruit.com>2020-02-04 18:41:17 -0500
committerGitHub <noreply@github.com>2020-02-04 18:41:17 -0500
commit433671f5eb1e4ac94615301c3b41c6a01935274a (patch)
treed94265500bd28047df73346068a42787b9050292 /py/runtime.h
parent65045eb3bc4c61a5e4c538cdbf93b97f832f251e (diff)
parent280e20adbeba23711bef3786e1bb1c7bbc87c825 (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.h1
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);