Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Mirrored from https://github.com/Camo67/composio.git
Synced Nov 23, 01:45 UTC
Fix errors
haxzie committed
May 22, 2025 at 17:44 UTC
28c7b69005774c22d46dfde6882d4d382ccbcf5b
1 file changed
-7
packages/core/src/errors/ValidationErrors.ts
-7
@@ -34,13 +34,6 @@ export class ValidationError extends ComposioError {
34
issue => `[${issue.code}] ${issue.path.join('.')} - ${issue.message}`
35
);
36
37
- const cause =
38
- issues.length > 0
39
- ? issues.join('\n')
40
- : options.cause
41
- ? String(options.cause)
42
- : 'Validation failed';
43
-
37
super(message, {
38
...restOptions,
39
code: options.code || ValidationErrorCodes.VALIDATION_ERROR,