Open Cinux-Chosan opened 6 months ago
https://github.com/vuejs/vue-cli/blob/f0f254e4bc81ed322eeb9f7de346e987e845068e/packages/%40vue/cli-service/lib/util/prepareProxy.js#L100
I indeed require a custom response when encountering a proxy error.
From the code perspective, it is hardcoded to only use the default console prompts provided by Vue CLI and does not support custom error handling logic.
https://github.com/vuejs/vue-cli/blob/f0f254e4bc81ed322eeb9f7de346e987e845068e/packages/%40vue/cli-service/lib/util/prepareProxy.js#L100
I indeed require a custom response when encountering a proxy error.