Skip to content

Commit be3b1eb

Browse files
committed
deploy: 36294c0
1 parent 98a8efe commit be3b1eb

33 files changed

+1176
-279
lines changed

api/EasyPost.Exceptions.API.ApiError.html

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,7 @@
7373
<h1 id="EasyPost_Exceptions_API_ApiError" data-uid="EasyPost.Exceptions.API.ApiError" class="text-break">Class ApiError
7474
</h1>
7575
<div class="markdown level0 summary"><p>Represents an error that occurred while communicating with the EasyPost API.
76-
This is typically due to a specific HTTP status code, such as 4xx or 5xx.
77-
This is different than the <a class="xref" href="EasyPost.Models.API.Error.html">Error</a> class, which represents information about what triggered the failed request.
78-
The information from the top-level <a class="xref" href="EasyPost.Models.API.Error.html">Error</a> class is used to generate this error, and any sub-errors are stored as a list of <a class="xref" href="EasyPost.Models.API.Error.html">Error</a> objects.</p>
76+
This is typically due to a specific HTTP status code, such as 4xx or 5xx.</p>
7977
</div>
8078
<div class="markdown level0 conceptual"></div>
8179
<div class="inheritance">
@@ -111,19 +109,19 @@ <h3 id="constructors">Constructors
111109
</h3>
112110
<span class="small pull-right mobile-hide">
113111
<span class="divider">|</span>
114-
<a href="https://github.com/EasyPost/easypost-csharp/new/master/apiSpec/new?filename=EasyPost_Exceptions_API_ApiError__ctor_System_String_System_Nullable_System_Int32__System_Nullable_System_String__System_Nullable_List_EasyPost_Models_API_Error___.md&amp;value=---%0Auid%3A%20EasyPost.Exceptions.API.ApiError.%23ctor(System.String%2CSystem.Nullable%7BSystem.Int32%7D%2CSystem.Nullable%7BSystem.String%7D%2CSystem.Nullable%7BList%7BEasyPost.Models.API.Error%7D%7D)%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
112+
<a href="https://github.com/EasyPost/easypost-csharp/new/master/apiSpec/new?filename=EasyPost_Exceptions_API_ApiError__ctor_System_String_System_Nullable_System_Int32__System_Nullable_System_String__System_Nullable_List_System_Object___.md&amp;value=---%0Auid%3A%20EasyPost.Exceptions.API.ApiError.%23ctor(System.String%2CSystem.Nullable%7BSystem.Int32%7D%2CSystem.Nullable%7BSystem.String%7D%2CSystem.Nullable%7BList%7BSystem.Object%7D%7D)%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
115113
</span>
116114
<span class="small pull-right mobile-hide">
117-
<a href="https://github.com/EasyPost/easypost-csharp/blob/master/EasyPost/Exceptions/API/_Base.cs/#L67">View Source</a>
115+
<a href="https://github.com/EasyPost/easypost-csharp/blob/master/EasyPost/Exceptions/API/_Base.cs/#L86">View Source</a>
118116
</span>
119117
<a id="EasyPost_Exceptions_API_ApiError__ctor_" data-uid="EasyPost.Exceptions.API.ApiError.#ctor*"></a>
120-
<h4 id="EasyPost_Exceptions_API_ApiError__ctor_System_String_System_Nullable_System_Int32__System_Nullable_System_String__System_Nullable_List_EasyPost_Models_API_Error___" data-uid="EasyPost.Exceptions.API.ApiError.#ctor(System.String,System.Nullable{System.Int32},System.Nullable{System.String},System.Nullable{List{EasyPost.Models.API.Error}})">ApiError(String, Nullable&lt;Int32&gt;, Nullable&lt;String&gt;, Nullable&lt;List&lt;Error&gt;&gt;)</h4>
118+
<h4 id="EasyPost_Exceptions_API_ApiError__ctor_System_String_System_Nullable_System_Int32__System_Nullable_System_String__System_Nullable_List_System_Object___" data-uid="EasyPost.Exceptions.API.ApiError.#ctor(System.String,System.Nullable{System.Int32},System.Nullable{System.String},System.Nullable{List{System.Object}})">ApiError(String, Nullable&lt;Int32&gt;, Nullable&lt;String&gt;, Nullable&lt;List&lt;Object&gt;&gt;)</h4>
121119
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="EasyPost.Exceptions.API.ApiError.html">ApiError</a> class.</p>
122120
</div>
123121
<div class="markdown level1 conceptual"></div>
124122
<h5 class="declaration">Declaration</h5>
125123
<div class="codewrapper">
126-
<pre><code class="lang-csharp hljs">protected ApiError(string errorMessage, int? statusCode = null, string? errorType = null, List&lt;Error&gt;? errors = null)</code></pre>
124+
<pre><code class="lang-csharp hljs">protected ApiError(string errorMessage, int? statusCode = null, string? errorType = null, List&lt;object&gt;? errors = null)</code></pre>
127125
</div>
128126
<h5 class="parameters">Parameters</h5>
129127
<table class="table table-bordered table-striped table-condensed">
@@ -154,9 +152,9 @@ <h5 class="parameters">Parameters</h5>
154152
</td>
155153
</tr>
156154
<tr>
157-
<td><span class="xref">System.Nullable</span>&lt;<span class="xref">List</span>&lt;<a class="xref" href="EasyPost.Models.API.Error.html">Error</a>&gt;&gt;</td>
155+
<td><span class="xref">System.Nullable</span>&lt;<span class="xref">List</span>&lt;<span class="xref">System.Object</span>&gt;&gt;</td>
158156
<td><span class="parametername">errors</span></td>
159-
<td><p>Optional list of <a class="xref" href="EasyPost.Models.API.Error.html">Error</a> objects to store as a property.</p>
157+
<td><p>Optional list of errors to store as a property.</p>
160158
</td>
161159
</tr>
162160
</tbody>
@@ -168,7 +166,7 @@ <h3 id="fields">Fields
168166
<a href="https://github.com/EasyPost/easypost-csharp/new/master/apiSpec/new?filename=EasyPost_Exceptions_API_ApiError_Code.md&amp;value=---%0Auid%3A%20EasyPost.Exceptions.API.ApiError.Code%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
169167
</span>
170168
<span class="small pull-right mobile-hide">
171-
<a href="https://github.com/EasyPost/easypost-csharp/blob/master/EasyPost/Exceptions/API/_Base.cs/#L27">View Source</a>
169+
<a href="https://github.com/EasyPost/easypost-csharp/blob/master/EasyPost/Exceptions/API/_Base.cs/#L26">View Source</a>
172170
</span>
173171
<h4 id="EasyPost_Exceptions_API_ApiError_Code" data-uid="EasyPost.Exceptions.API.ApiError.Code">Code</h4>
174172
<div class="markdown level1 summary"><p>The machine-readable error code returned by the API.</p>
@@ -198,15 +196,15 @@ <h5 class="fieldValue">Field Value</h5>
198196
<a href="https://github.com/EasyPost/easypost-csharp/new/master/apiSpec/new?filename=EasyPost_Exceptions_API_ApiError_Errors.md&amp;value=---%0Auid%3A%20EasyPost.Exceptions.API.ApiError.Errors%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
199197
</span>
200198
<span class="small pull-right mobile-hide">
201-
<a href="https://github.com/EasyPost/easypost-csharp/blob/master/EasyPost/Exceptions/API/_Base.cs/#L32">View Source</a>
199+
<a href="https://github.com/EasyPost/easypost-csharp/blob/master/EasyPost/Exceptions/API/_Base.cs/#L31">View Source</a>
202200
</span>
203201
<h4 id="EasyPost_Exceptions_API_ApiError_Errors" data-uid="EasyPost.Exceptions.API.ApiError.Errors">Errors</h4>
204-
<div class="markdown level1 summary"><p>A list of <a class="xref" href="EasyPost.Models.API.Error.html">Error</a> objects that contain information about what triggered the failed request.</p>
202+
<div class="markdown level1 summary"><p>A list of errors that contain information about what triggered the failed request.</p>
205203
</div>
206204
<div class="markdown level1 conceptual"></div>
207205
<h5 class="declaration">Declaration</h5>
208206
<div class="codewrapper">
209-
<pre><code class="lang-csharp hljs">public readonly List&lt;Error&gt;? Errors</code></pre>
207+
<pre><code class="lang-csharp hljs">public readonly List&lt;object&gt;? Errors</code></pre>
210208
</div>
211209
<h5 class="fieldValue">Field Value</h5>
212210
<table class="table table-bordered table-striped table-condensed">
@@ -218,7 +216,7 @@ <h5 class="fieldValue">Field Value</h5>
218216
</thead>
219217
<tbody>
220218
<tr>
221-
<td><span class="xref">System.Nullable</span>&lt;<span class="xref">List</span>&lt;<a class="xref" href="EasyPost.Models.API.Error.html">Error</a>&gt;&gt;</td>
219+
<td><span class="xref">System.Nullable</span>&lt;<span class="xref">List</span>&lt;<span class="xref">System.Object</span>&gt;&gt;</td>
222220
<td></td>
223221
</tr>
224222
</tbody>
@@ -228,7 +226,7 @@ <h5 class="fieldValue">Field Value</h5>
228226
<a href="https://github.com/EasyPost/easypost-csharp/new/master/apiSpec/new?filename=EasyPost_Exceptions_API_ApiError_StatusCode.md&amp;value=---%0Auid%3A%20EasyPost.Exceptions.API.ApiError.StatusCode%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
229227
</span>
230228
<span class="small pull-right mobile-hide">
231-
<a href="https://github.com/EasyPost/easypost-csharp/blob/master/EasyPost/Exceptions/API/_Base.cs/#L37">View Source</a>
229+
<a href="https://github.com/EasyPost/easypost-csharp/blob/master/EasyPost/Exceptions/API/_Base.cs/#L36">View Source</a>
232230
</span>
233231
<h4 id="EasyPost_Exceptions_API_ApiError_StatusCode" data-uid="EasyPost.Exceptions.API.ApiError.StatusCode">StatusCode</h4>
234232
<div class="markdown level1 summary"><p>The HTTP status code returned by the API.</p>
@@ -260,7 +258,7 @@ <h3 id="properties">Properties
260258
<a href="https://github.com/EasyPost/easypost-csharp/new/master/apiSpec/new?filename=EasyPost_Exceptions_API_ApiError_PrettyPrint.md&amp;value=---%0Auid%3A%20EasyPost.Exceptions.API.ApiError.PrettyPrint%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
261259
</span>
262260
<span class="small pull-right mobile-hide">
263-
<a href="https://github.com/EasyPost/easypost-csharp/blob/master/EasyPost/Exceptions/API/_Base.cs/#L43">View Source</a>
261+
<a href="https://github.com/EasyPost/easypost-csharp/blob/master/EasyPost/Exceptions/API/_Base.cs/#L42">View Source</a>
264262
</span>
265263
<a id="EasyPost_Exceptions_API_ApiError_PrettyPrint_" data-uid="EasyPost.Exceptions.API.ApiError.PrettyPrint*"></a>
266264
<h4 id="EasyPost_Exceptions_API_ApiError_PrettyPrint" data-uid="EasyPost.Exceptions.API.ApiError.PrettyPrint">PrettyPrint</h4>
@@ -300,7 +298,7 @@ <h5 class="overrides">Overrides</h5>
300298
<a href="https://github.com/EasyPost/easypost-csharp/new/master/apiSpec/new?filename=EasyPost_Exceptions_API_ApiError.md&amp;value=---%0Auid%3A%20EasyPost.Exceptions.API.ApiError%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
301299
</li>
302300
<li>
303-
<a href="https://github.com/EasyPost/easypost-csharp/blob/master/EasyPost/Exceptions/API/_Base.cs/#L21" class="contribution-link">View Source</a>
301+
<a href="https://github.com/EasyPost/easypost-csharp/blob/master/EasyPost/Exceptions/API/_Base.cs/#L20" class="contribution-link">View Source</a>
304302
</li>
305303
</ul>
306304
</div>

api/EasyPost.Exceptions.API.BadRequestError.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ <h5 id="EasyPost_Exceptions_API_BadRequestError_syntax">Syntax</h5>
114114
<a href="https://github.com/EasyPost/easypost-csharp/new/master/apiSpec/new?filename=EasyPost_Exceptions_API_BadRequestError.md&amp;value=---%0Auid%3A%20EasyPost.Exceptions.API.BadRequestError%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
115115
</li>
116116
<li>
117-
<a href="https://github.com/EasyPost/easypost-csharp/blob/master/EasyPost/Exceptions/API/BadRequestError.cs/#L9" class="contribution-link">View Source</a>
117+
<a href="https://github.com/EasyPost/easypost-csharp/blob/master/EasyPost/Exceptions/API/BadRequestError.cs/#L8" class="contribution-link">View Source</a>
118118
</li>
119119
</ul>
120120
</div>

api/EasyPost.Exceptions.API.ConnectionError.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ <h5 id="EasyPost_Exceptions_API_ConnectionError_syntax">Syntax</h5>
114114
<a href="https://github.com/EasyPost/easypost-csharp/new/master/apiSpec/new?filename=EasyPost_Exceptions_API_ConnectionError.md&amp;value=---%0Auid%3A%20EasyPost.Exceptions.API.ConnectionError%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
115115
</li>
116116
<li>
117-
<a href="https://github.com/EasyPost/easypost-csharp/blob/master/EasyPost/Exceptions/API/ConnectionError.cs/#L9" class="contribution-link">View Source</a>
117+
<a href="https://github.com/EasyPost/easypost-csharp/blob/master/EasyPost/Exceptions/API/ConnectionError.cs/#L8" class="contribution-link">View Source</a>
118118
</li>
119119
</ul>
120120
</div>

api/EasyPost.Exceptions.API.GatewayTimeoutError.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ <h5 id="EasyPost_Exceptions_API_GatewayTimeoutError_syntax">Syntax</h5>
114114
<a href="https://github.com/EasyPost/easypost-csharp/new/master/apiSpec/new?filename=EasyPost_Exceptions_API_GatewayTimeoutError.md&amp;value=---%0Auid%3A%20EasyPost.Exceptions.API.GatewayTimeoutError%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
115115
</li>
116116
<li>
117-
<a href="https://github.com/EasyPost/easypost-csharp/blob/master/EasyPost/Exceptions/API/GatewayTimeoutError.cs/#L9" class="contribution-link">View Source</a>
117+
<a href="https://github.com/EasyPost/easypost-csharp/blob/master/EasyPost/Exceptions/API/GatewayTimeoutError.cs/#L8" class="contribution-link">View Source</a>
118118
</li>
119119
</ul>
120120
</div>

api/EasyPost.Exceptions.API.InternalServerError.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ <h5 id="EasyPost_Exceptions_API_InternalServerError_syntax">Syntax</h5>
114114
<a href="https://github.com/EasyPost/easypost-csharp/new/master/apiSpec/new?filename=EasyPost_Exceptions_API_InternalServerError.md&amp;value=---%0Auid%3A%20EasyPost.Exceptions.API.InternalServerError%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
115115
</li>
116116
<li>
117-
<a href="https://github.com/EasyPost/easypost-csharp/blob/master/EasyPost/Exceptions/API/InternalServerError.cs/#L9" class="contribution-link">View Source</a>
117+
<a href="https://github.com/EasyPost/easypost-csharp/blob/master/EasyPost/Exceptions/API/InternalServerError.cs/#L8" class="contribution-link">View Source</a>
118118
</li>
119119
</ul>
120120
</div>

api/EasyPost.Exceptions.API.InvalidRequestError.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ <h5 id="EasyPost_Exceptions_API_InvalidRequestError_syntax">Syntax</h5>
114114
<a href="https://github.com/EasyPost/easypost-csharp/new/master/apiSpec/new?filename=EasyPost_Exceptions_API_InvalidRequestError.md&amp;value=---%0Auid%3A%20EasyPost.Exceptions.API.InvalidRequestError%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
115115
</li>
116116
<li>
117-
<a href="https://github.com/EasyPost/easypost-csharp/blob/master/EasyPost/Exceptions/API/InvalidRequestError.cs/#L9" class="contribution-link">View Source</a>
117+
<a href="https://github.com/EasyPost/easypost-csharp/blob/master/EasyPost/Exceptions/API/InvalidRequestError.cs/#L8" class="contribution-link">View Source</a>
118118
</li>
119119
</ul>
120120
</div>

api/EasyPost.Exceptions.API.MethodNotAllowedError.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ <h5 id="EasyPost_Exceptions_API_MethodNotAllowedError_syntax">Syntax</h5>
114114
<a href="https://github.com/EasyPost/easypost-csharp/new/master/apiSpec/new?filename=EasyPost_Exceptions_API_MethodNotAllowedError.md&amp;value=---%0Auid%3A%20EasyPost.Exceptions.API.MethodNotAllowedError%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
115115
</li>
116116
<li>
117-
<a href="https://github.com/EasyPost/easypost-csharp/blob/master/EasyPost/Exceptions/API/MethodNotAllowedError.cs/#L9" class="contribution-link">View Source</a>
117+
<a href="https://github.com/EasyPost/easypost-csharp/blob/master/EasyPost/Exceptions/API/MethodNotAllowedError.cs/#L8" class="contribution-link">View Source</a>
118118
</li>
119119
</ul>
120120
</div>

api/EasyPost.Exceptions.API.NotFoundError.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ <h5 id="EasyPost_Exceptions_API_NotFoundError_syntax">Syntax</h5>
114114
<a href="https://github.com/EasyPost/easypost-csharp/new/master/apiSpec/new?filename=EasyPost_Exceptions_API_NotFoundError.md&amp;value=---%0Auid%3A%20EasyPost.Exceptions.API.NotFoundError%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
115115
</li>
116116
<li>
117-
<a href="https://github.com/EasyPost/easypost-csharp/blob/master/EasyPost/Exceptions/API/NotFoundError.cs/#L9" class="contribution-link">View Source</a>
117+
<a href="https://github.com/EasyPost/easypost-csharp/blob/master/EasyPost/Exceptions/API/NotFoundError.cs/#L8" class="contribution-link">View Source</a>
118118
</li>
119119
</ul>
120120
</div>

api/EasyPost.Exceptions.API.PaymentError.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ <h5 id="EasyPost_Exceptions_API_PaymentError_syntax">Syntax</h5>
114114
<a href="https://github.com/EasyPost/easypost-csharp/new/master/apiSpec/new?filename=EasyPost_Exceptions_API_PaymentError.md&amp;value=---%0Auid%3A%20EasyPost.Exceptions.API.PaymentError%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax&#39;%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
115115
</li>
116116
<li>
117-
<a href="https://github.com/EasyPost/easypost-csharp/blob/master/EasyPost/Exceptions/API/PaymentError.cs/#L9" class="contribution-link">View Source</a>
117+
<a href="https://github.com/EasyPost/easypost-csharp/blob/master/EasyPost/Exceptions/API/PaymentError.cs/#L8" class="contribution-link">View Source</a>
118118
</li>
119119
</ul>
120120
</div>

0 commit comments

Comments
 (0)