public static string Build(Exception exception) { MCException e = new MCException(exception, "MCS_UNKNOWN", "An unknown error has occurred."); return(GetPrimaryHeader(e.Code) + "\n" + GetBasicHeaders(ResponseType.Error, e.ToString()) + "\n\n" + e + Reference.MCS_ENDOFTEXT); }
public static string Build(MCException e) { return(GetPrimaryHeader(e.Code) + "\n" + GetBasicHeaders(ResponseType.Error, e.ToString()) + "\n\n" + e + Reference.MCS_ENDOFTEXT); }