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.
C, AuraHandled Exception is used to track the error when Apex is interacting with Lightning Component
upvoted 4 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Jeet89123
5 months, 2 weeks agoVVeguru
1 year, 3 months ago