How to detect custom errors

后端 未结 0 992
隐瞒了意图╮
隐瞒了意图╮ 2021-01-31 17:52

Motivation

I have custom error type named CustomError and I want to write a method that parses any type of error into my error structure. So I wrote

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