Example #1
0
 internal static void OnFatalApplicationException(int errorCode, Exception exception)
 {
     FatalApplicationException.Raise(null, new ChoFatalErrorEventArgs(errorCode, exception));
     Environment.FailFast("Fatal error occured.", exception);
 }
Example #2
0
 internal static void OnFatalApplicationException(int errorCode, string errorMsg)
 {
     FatalApplicationException.Raise(null, new ChoFatalErrorEventArgs(errorCode, errorMsg));
     Environment.FailFast(errorMsg);
 }