You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So that a generic handler can be written for ErrorReturnCode_N Exceptions, could the Exception constructor be modified to include the exit_code as an attribute.
So that a generic handler can be written for ErrorReturnCode_N Exceptions, could the Exception constructor be modified to include the exit_code as an attribute.
i.e. in get_rc_exe
exc = type(name, (ErrorReturnCode, ), {exit_code:rc}
and
exc = type(name, (SignalException, ), {exit_code:rc}
The text was updated successfully, but these errors were encountered: