PyDocs

Nav

MS Windows Specific Services

set_error_mode

msvcrt

functionWindows
  • set_error_mode(mode)
Changes the location where the C runtime writes an error message for an error that might end the program. mode must be one of the OUT_* constants listed below or REPORT_ERRMODE. Returns the old setting or -1 if an error occurs. Only available in debug build of Python.
0 Examples
No examples for msvcrt/set_error_mode.
See Also
No see-alsos for msvcrt/set_error_mode
0 Notes
No notes for set_error_mode