Copy status_code to errno and reason to message for standard exception usage