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