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 . Use an AuraHandledException in a try/catch block.
B . Use ProcessBuilder to catch the error.
C . Add an onerror event handler to the tag.
D . Add an error-view component to the markup.
Answer: A
Latest PDII Practice Questions with 280 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments