@taico/errors 0.4.0 → 0.5.0
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.
- package/README.md +1 -1
- package/dist/error-codes.d.ts +5 -4
- package/dist/error-codes.js +6 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
# @taico/errors
|
|
2
2
|
|
|
3
|
-
[](https://badge.socket.dev/npm/package/@taico/errors/0.5.0)
|
package/dist/error-codes.d.ts
CHANGED
|
@@ -23,10 +23,11 @@ export declare const ErrorCodes: {
|
|
|
23
23
|
readonly TASK_EXECUTION_ALREADY_CLAIMED: "TASK_EXECUTION_ALREADY_CLAIMED";
|
|
24
24
|
readonly SESSION_NOT_FOUND: "SESSION_NOT_FOUND";
|
|
25
25
|
readonly ADK_SESSION_CREATION_FAILED: "ADK_SESSION_CREATION_FAILED";
|
|
26
|
-
readonly
|
|
27
|
-
readonly
|
|
28
|
-
readonly
|
|
29
|
-
readonly
|
|
26
|
+
readonly AI_PROVIDER_NOT_FOUND: "AI_PROVIDER_NOT_FOUND";
|
|
27
|
+
readonly AI_PROVIDER_NOT_CONFIGURED: "AI_PROVIDER_NOT_CONFIGURED";
|
|
28
|
+
readonly AI_PROVIDER_IN_USE: "AI_PROVIDER_IN_USE";
|
|
29
|
+
readonly AI_PROVIDER_MODEL_LISTING_FAILED: "AI_PROVIDER_MODEL_LISTING_FAILED";
|
|
30
|
+
readonly AI_MODEL_NOT_SELECTED: "AI_MODEL_NOT_SELECTED";
|
|
30
31
|
readonly CLIENT_ALREADY_REGISTERED: "CLIENT_ALREADY_REGISTERED";
|
|
31
32
|
readonly CLIENT_NOT_FOUND: "CLIENT_NOT_FOUND";
|
|
32
33
|
readonly INVALID_REDIRECT_URI: "INVALID_REDIRECT_URI";
|
package/dist/error-codes.js
CHANGED
|
@@ -30,11 +30,12 @@ export const ErrorCodes = {
|
|
|
30
30
|
// Chat errors
|
|
31
31
|
SESSION_NOT_FOUND: 'SESSION_NOT_FOUND',
|
|
32
32
|
ADK_SESSION_CREATION_FAILED: 'ADK_SESSION_CREATION_FAILED',
|
|
33
|
-
//
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
// AI provider errors
|
|
34
|
+
AI_PROVIDER_NOT_FOUND: 'AI_PROVIDER_NOT_FOUND',
|
|
35
|
+
AI_PROVIDER_NOT_CONFIGURED: 'AI_PROVIDER_NOT_CONFIGURED',
|
|
36
|
+
AI_PROVIDER_IN_USE: 'AI_PROVIDER_IN_USE',
|
|
37
|
+
AI_PROVIDER_MODEL_LISTING_FAILED: 'AI_PROVIDER_MODEL_LISTING_FAILED',
|
|
38
|
+
AI_MODEL_NOT_SELECTED: 'AI_MODEL_NOT_SELECTED',
|
|
38
39
|
// Authorization Server - Client Registration errors
|
|
39
40
|
CLIENT_ALREADY_REGISTERED: 'CLIENT_ALREADY_REGISTERED',
|
|
40
41
|
CLIENT_NOT_FOUND: 'CLIENT_NOT_FOUND',
|