/// <summary> /// Creates an error response based in an exception. /// </summary> /// <param name="e">Exception</param> public ApiResponse(AuctionMasterException e) { this._responseCode = 500; this._responseType = ApiResponseType.FAIL; if (e != null) { this._responsePayload = e.ToString(); } }
/// <summary> /// Creates a log message from an exception. /// </summary> /// <param name="e">Exception</param> /// <returns>String</returns> public static String createLog(AuctionMasterException e) { return(null); }