private static void ThrowErrorMessageWithArguments(ITransactionContextBase context) { throw context.ErrorMessage("CUSTOM-ERROR-MESSAGE-{0}-{1}", "One", "Two"); }
private static void ThrowErrorMessage(ITransactionContextBase context) { throw context.ErrorMessage("CUSTOM-ERROR-MESSAGE"); }