public ApiException(ApiHttpStatusCode httpStatusCode, object data, ApiError apiError) { PrepareException(httpStatusCode, data, new List <ApiError>() { apiError }); }
public ApiException(ApiHttpStatusCode httpStatusCode, object data, ApiError apiError, string message, Exception inner) : base(message, inner) { PrepareException(httpStatusCode, data, new List <ApiError>() { apiError }); }
private void PrepareException(ApiHttpStatusCode httpStatusCode, object data, IEnumerable <ApiError> apiErrors) { ApiHttpStatusCode = httpStatusCode; ApiErrors = apiErrors; Data = data; }
public ApiException(ApiHttpStatusCode httpStatusCode, object data, IEnumerable <ApiError> apiErrors, string message, Exception inner) : base(message, inner) { PrepareException(httpStatusCode, data, apiErrors); }
public ApiException(ApiHttpStatusCode httpStatusCode, object data, IEnumerable <ApiError> apiErrors) { PrepareException(httpStatusCode, data, apiErrors); }