Closed
Description
As of TypeScript 2.1, extending Error
has issues: it generates a non-trivial amount of code and it doesn't property pass messages through. We also don't really get any benefit from them, since Angular clobbers them anyway.
We can replace each custom error with a function like throwInputContainerUnsupportedType()