MCPcopy Create free account
hub / github.com/agent-tower/core / constructor

Method constructor

packages/server/src/errors.ts:26–29  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

24/** 数据校验失败 */
25export class ValidationError extends ServiceError {
26 constructor(message: string) {
27 super(message, 'VALIDATION_ERROR', 400);
28 this.name = 'ValidationError';
29 }
30}
31
32/** 状态流转非法 */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected