Tech Tutorial: Learn to Program with JavaScript – Episode 47: Custom Errors

There are times, especially when we are writing code to be consumed by other developers in their code, that we need to provide our own custom errors and we need to throw those errors so that the consuming code can handle them properly. JavaScript provides us the ability to create custom errors of our own design.

In this video, we learn how to create and throw our own custom errors.

Personal Recommendation (unpaid)
Programming and software development are awesome! Being that you are learning along with me, there is an excellent chance you can make this a career. Based on my own life experience, let me suggest to you that you go get a Computer Science degree from Neumont College of Computer Science and kick your life into hyper-drive.