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