internal SovrenException(string requestBody, RestResponse response, ApiResponseInfoLite errorInfo, string transactionId) : base(errorInfo?.Message ?? "Invalid response object from API") { RestResponse = response; HttpStatusCode = response?.StatusCode ?? HttpStatusCode.InternalServerError; SovrenErrorCode = errorInfo?.Code ?? "Unknown Error"; TransactionId = transactionId; RequestBody = requestBody; }
internal SovrenIndexResumeException(RestResponse response, ApiResponseInfoLite errorInfo, string transactionId, ParseResumeResponse parseResponse) : base(response, errorInfo, transactionId, parseResponse) { }
internal SovrenUsableResumeException(RestResponse response, ApiResponseInfoLite errorInfo, string transactionId, ParseResumeResponse parseResponse) : base(null, response, errorInfo, transactionId) { Response = parseResponse; }
internal SovrenProfessionNormalizationJobException(RestResponse response, ApiResponseInfoLite errorInfo, string transactionId, ParseJobResponse parseResponse) : base(response, errorInfo, transactionId, parseResponse) { }
internal SovrenGeocodeJobException(RestResponse response, ApiResponseInfoLite errorInfo, string transactionId, ParseJobResponse parseResponse) : base(response, errorInfo, transactionId, parseResponse) { }