Which code segment ...
 
Notifications
Clear all

Which code segment should you add at line UR06?

1 Posts
1 Users
0 Likes
170 Views
(@boehnkearden)
Noble Member
Joined: 2 years ago
Posts: 697
Topic starter  

You need to handle errors in UpdateRecord.js.

Which code segment should you add at line UR06?

  • A . catch(error) {
    alert("Caught error: " + error.message);}
  • B . Exception exception = Server.GetLastError() ;
    if(exception != null)}
  • C . catch(exception e){
    console.writeline(e)}
  • D . function (error){
    console.log(error.message)}

Show Answer Hide Answer

Suggested Answer: A

Explanation:

The catch statement lets you handle the error.

Syntax: catch(err) {

Block of code to handle errors

}

Reference: https://www.w3schools.com/js/js_errors.asp

   
Quote

Latest Microsoft PL-400 Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: