@taico/errors 0.1.0 → 0.2.6
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/dist/error-codes.d.ts +8 -0
- package/dist/error-codes.js +10 -0
- package/package.json +1 -1
package/dist/error-codes.d.ts
CHANGED
|
@@ -15,9 +15,17 @@ export declare const ErrorCodes: {
|
|
|
15
15
|
readonly BLOCK_IS_THREAD_STATE: "BLOCK_IS_THREAD_STATE";
|
|
16
16
|
readonly AGENT_NOT_FOUND: "AGENT_NOT_FOUND";
|
|
17
17
|
readonly AGENT_SLUG_CONFLICT: "AGENT_SLUG_CONFLICT";
|
|
18
|
+
readonly AGENT_TOOL_PERMISSION_NOT_FOUND: "AGENT_TOOL_PERMISSION_NOT_FOUND";
|
|
18
19
|
readonly AGENT_RUN_NOT_FOUND: "AGENT_RUN_NOT_FOUND";
|
|
20
|
+
readonly TASK_EXECUTION_NOT_FOUND: "TASK_EXECUTION_NOT_FOUND";
|
|
21
|
+
readonly TASK_EXECUTION_NOT_CLAIMABLE: "TASK_EXECUTION_NOT_CLAIMABLE";
|
|
22
|
+
readonly TASK_EXECUTION_ALREADY_CLAIMED: "TASK_EXECUTION_ALREADY_CLAIMED";
|
|
19
23
|
readonly SESSION_NOT_FOUND: "SESSION_NOT_FOUND";
|
|
20
24
|
readonly ADK_SESSION_CREATION_FAILED: "ADK_SESSION_CREATION_FAILED";
|
|
25
|
+
readonly CHAT_PROVIDER_NOT_FOUND: "CHAT_PROVIDER_NOT_FOUND";
|
|
26
|
+
readonly CHAT_PROVIDER_ALREADY_ACTIVE: "CHAT_PROVIDER_ALREADY_ACTIVE";
|
|
27
|
+
readonly CHAT_PROVIDER_NOT_CONFIGURED: "CHAT_PROVIDER_NOT_CONFIGURED";
|
|
28
|
+
readonly NO_ACTIVE_CHAT_PROVIDER: "NO_ACTIVE_CHAT_PROVIDER";
|
|
21
29
|
readonly CLIENT_ALREADY_REGISTERED: "CLIENT_ALREADY_REGISTERED";
|
|
22
30
|
readonly CLIENT_NOT_FOUND: "CLIENT_NOT_FOUND";
|
|
23
31
|
readonly INVALID_REDIRECT_URI: "INVALID_REDIRECT_URI";
|
package/dist/error-codes.js
CHANGED
|
@@ -19,11 +19,21 @@ export const ErrorCodes = {
|
|
|
19
19
|
// Agent errors
|
|
20
20
|
AGENT_NOT_FOUND: 'AGENT_NOT_FOUND',
|
|
21
21
|
AGENT_SLUG_CONFLICT: 'AGENT_SLUG_CONFLICT',
|
|
22
|
+
AGENT_TOOL_PERMISSION_NOT_FOUND: 'AGENT_TOOL_PERMISSION_NOT_FOUND',
|
|
22
23
|
// Agent Run errors
|
|
23
24
|
AGENT_RUN_NOT_FOUND: 'AGENT_RUN_NOT_FOUND',
|
|
25
|
+
// Execution errors
|
|
26
|
+
TASK_EXECUTION_NOT_FOUND: 'TASK_EXECUTION_NOT_FOUND',
|
|
27
|
+
TASK_EXECUTION_NOT_CLAIMABLE: 'TASK_EXECUTION_NOT_CLAIMABLE',
|
|
28
|
+
TASK_EXECUTION_ALREADY_CLAIMED: 'TASK_EXECUTION_ALREADY_CLAIMED',
|
|
24
29
|
// Chat errors
|
|
25
30
|
SESSION_NOT_FOUND: 'SESSION_NOT_FOUND',
|
|
26
31
|
ADK_SESSION_CREATION_FAILED: 'ADK_SESSION_CREATION_FAILED',
|
|
32
|
+
// Chat Provider errors
|
|
33
|
+
CHAT_PROVIDER_NOT_FOUND: 'CHAT_PROVIDER_NOT_FOUND',
|
|
34
|
+
CHAT_PROVIDER_ALREADY_ACTIVE: 'CHAT_PROVIDER_ALREADY_ACTIVE',
|
|
35
|
+
CHAT_PROVIDER_NOT_CONFIGURED: 'CHAT_PROVIDER_NOT_CONFIGURED',
|
|
36
|
+
NO_ACTIVE_CHAT_PROVIDER: 'NO_ACTIVE_CHAT_PROVIDER',
|
|
27
37
|
// Authorization Server - Client Registration errors
|
|
28
38
|
CLIENT_ALREADY_REGISTERED: 'CLIENT_ALREADY_REGISTERED',
|
|
29
39
|
CLIENT_NOT_FOUND: 'CLIENT_NOT_FOUND',
|