how to tell circuit's builtin error from app's
jiacai2050 opened this issue · comments
Jiacai Liu commented
As for now, circuitError is defined as package-private, so we can't do type check like _, ok := err.(circuitError)
.
Maybe we can add a IsBuiltinError(error)
public func? my application need this info to do different business logic.
Jack Lindamood commented
Does #77 help?