Create custom errors in JavaScript that inherit Error or descendants of Error