3 ms·i think custom error types (extended from Error) wrapped in try catch is a good alternative kn that.by joshxyz 5y agoi think custom error types (extended from Error) wrapped in try catch is a good alternative kn that.