Error.prototype.message lab

In this lab, you will create a CustomError class that extends the built-in Error class. You will then create an instance of the CustomError class with a custom message, and log the message property of the error object to the console.

This lab will help you understand how to work with custom error messages by extending the Error.prototype and set the custom error message inside the constructor.

Adding your container request
Getting your dedicated container
Connecting to your container
Setting up your editor
Finalizing your playground
TerminalEditorBrowser