loading...

Discussion on: Clean Code Applied to JavaScript — Part V. Exceptions

Collapse
briancodes profile image
Brian

I rarely use or throw custom exceptions, but I'm going to look into it more now

I was wondering if Typescript supports a update(): Account throws UpdateException {...} style syntax. It's been suggested, but not supported yet:
github.com/microsoft/TypeScript/is...