quidproquo-core 0.0.72 → 0.0.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -10,7 +10,8 @@ export declare enum ErrorTypeEnum {
|
|
|
10
10
|
NotImplemented = "NotImplemented",
|
|
11
11
|
NoContent = "NoContent",
|
|
12
12
|
BadRequest = "BadRequest",
|
|
13
|
-
Invalid = "Invalid"
|
|
13
|
+
Invalid = "Invalid",
|
|
14
|
+
Conflict = "Conflict"
|
|
14
15
|
}
|
|
15
16
|
export interface QPQError {
|
|
16
17
|
errorType: ErrorTypeEnum;
|
|
@@ -5,29 +5,32 @@ exports.ErrorTypeEnum = void 0;
|
|
|
5
5
|
//
|
|
6
6
|
var ErrorTypeEnum;
|
|
7
7
|
(function (ErrorTypeEnum) {
|
|
8
|
-
// User failed to provide
|
|
9
|
-
// ~
|
|
8
|
+
// User failed to provide valid credentials required for accessing this resource
|
|
9
|
+
// ~ typically occurs when user is not authenticated
|
|
10
10
|
ErrorTypeEnum["Unauthorized"] = "Unauthorized";
|
|
11
|
-
//
|
|
11
|
+
// Payment is required to access this resource or perform an action
|
|
12
12
|
ErrorTypeEnum["PaymentRequired"] = "PaymentRequired";
|
|
13
|
-
//
|
|
13
|
+
// User does not have sufficient privileges to access this resource
|
|
14
14
|
ErrorTypeEnum["Forbidden"] = "Forbidden";
|
|
15
|
-
//
|
|
15
|
+
// The requested resource was not found on the server
|
|
16
16
|
ErrorTypeEnum["NotFound"] = "NotFound";
|
|
17
|
-
//
|
|
17
|
+
// The server timed out while waiting for a response from a resource
|
|
18
18
|
ErrorTypeEnum["TimeOut"] = "TimeOut";
|
|
19
|
-
//
|
|
19
|
+
// The request included an unsupported media type or format
|
|
20
20
|
ErrorTypeEnum["UnsupportedMediaType"] = "UnsupportedMediaType";
|
|
21
|
-
//
|
|
21
|
+
// The system or downstream resource is out of resources
|
|
22
22
|
ErrorTypeEnum["OutOfResources"] = "OutOfResources";
|
|
23
|
-
//
|
|
23
|
+
// A generic error occurred that does not fit into a more specific category
|
|
24
|
+
// ~ Think 500 Internal Server Error in a web server
|
|
24
25
|
ErrorTypeEnum["GenericError"] = "GenericError";
|
|
25
|
-
//
|
|
26
|
+
// The requested resource or action has not yet been implemented
|
|
26
27
|
ErrorTypeEnum["NotImplemented"] = "NotImplemented";
|
|
27
|
-
//
|
|
28
|
+
// The requested resource or action was successful, but no content was returned
|
|
28
29
|
ErrorTypeEnum["NoContent"] = "NoContent";
|
|
29
|
-
//
|
|
30
|
+
// The request included invalid data or parameters
|
|
30
31
|
ErrorTypeEnum["BadRequest"] = "BadRequest";
|
|
31
|
-
//
|
|
32
|
+
// The request payload was invalid or in an unsupported format
|
|
32
33
|
ErrorTypeEnum["Invalid"] = "Invalid";
|
|
34
|
+
// The request attempted to create a resource that already exists, or conflicting changes were detected
|
|
35
|
+
ErrorTypeEnum["Conflict"] = "Conflict";
|
|
33
36
|
})(ErrorTypeEnum = exports.ErrorTypeEnum || (exports.ErrorTypeEnum = {}));
|