When to Use Custom Errors vs. Default Errors in TypeScript

Absolute beginner question: is it good idea to always create custom errors, or are there cases where the vanilla default error is better?
Was this page helpful?