typescript-rest
typescript-rest copied to clipboard
HttpError is not exported by typescript-rest module.
Hi,
Using the brand new 2.0.0 release, the abstract class HttpError seems not to be exported by default. I have to implement :
import { Errors } from 'typescript-rest';
export CustomError extended Errors.HttpError
to access this class.
This should be documented maybe ... I can submit a merge request if you want. If I got time to ;)
I also ran into this -- thanks for the solution!