public static void OnWarning(this IHasContext obj, Exception warning, int errorCode) { obj.OnError(warning, errorCode, ErrorLevel.Warning); }
public static void OnError(this IHasContext obj, Exception error, int errorCode) { obj.OnError(error, errorCode, ErrorLevel.Error); }
public static void OnError(this IHasContext obj, Exception error, ErrorLevel level) { obj.OnError(error, -1, level); }
public static void OnError(this IHasContext obj, Exception error) { obj.OnError(error, -1); }