How to catch/return error in AJAX from server side nodejs when manually throwing error inside try block?

后端 未结 0 1192
野的像风
野的像风 2021-01-27 01:18

Below is the server side code where I am manually throwing an error. It get caught inside catch block. But Now I want to send tat caught error back to the AJAX error field and t

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