Exam4Training

What should the developer do to ensure a more meaningful message?

A user receives the generic "An internal server error has occurred" while interacting with a custom Lightning Component.

What should the developer do to ensure a more meaningful message?
A . Add an onerror event handler to the tag.
B . Add an error-view component to the markup.
C . Use an AuraHandledException in a try/catch block.
D . Use ProcessBuilder to catch the error.

Answer: C

Latest PDII Dumps Valid Version with 280 Q&As

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

Exit mobile version