Which line of code should you insert at line 04?

You create an application that sends information to a web service by using the following code: (Line numbers are included for reference only.)

When the web service returns a non-zero result code, you must raise an exception that contains the result code.
You need to implement the code that generates the exception.
Which line of code should you insert at line 04?
A. CustomError .prototype = Error.prototype;
B. CustomError [“ErrorType”] = Error;
C. CustomError.customError = true;
D. Error-constructor = CustomError;

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.