setting custom error code different then default INTERNAL_SERVER_ERROR with class-validator

后端 未结 0 661
北海茫月
北海茫月 2021-02-07 19:17

Is there a way to set custom error code or extension with class-validator? Now every error thrown by class-validator has code : INTERNAL_SERVER_ERROR, so I can\'t handle it with

相关标签:
回答
  • 消灭零回复
提交回复
热议问题