We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
HTTP.Endpoint.ResponseError
1 parent c0151f7 commit a32cb25Copy full SHA for a32cb25
src/library/HTTP/Endpoint/ResponseError.ts
@@ -8,15 +8,12 @@ class HTTP_Endpoint_ResponseError
8
extends Attempt.ActionableError<
9
'HTTP_Endpoint_ResponseError'
10
> {
11
- public readonly status: HTTP_Response.StatusCode.Error.Any;
12
-
13
public constructor(
14
givenMessage: string,
15
- givenStatus: HTTP_Response.StatusCode.Error.Any,
+ public readonly status: HTTP_Response.StatusCode.Error.Any,
16
) {
17
super(givenMessage);
18
this.name = 'HTTP_Endpoint_ResponseError';
19
- this.status = givenStatus;
20
}
21
22
0 commit comments