Open hortelanobruno-ol opened 2 years ago
Describe the bug
When we throw a CustomError on a function of a service that is injected usingtsyring and then we do an instanceof of that error the result is "error " instead of the CustomErrorClass.
We are using "tsyringe": "^4.7.0" and "typescript": "^4.7.4"
Describe the bug
When we throw a CustomError on a function of a service that is injected usingtsyring and then we do an instanceof of that error the result is "error " instead of the CustomErrorClass.
We are using "tsyringe": "^4.7.0" and "typescript": "^4.7.4"