Timeline for Display Exception message in toast when calling Apex using @wire
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 8, 2020 at 4:19 | comment | added | salesforce-sas |
@Edmondo1984 I do not think so. You need to handle using standard toast or display using HTML div with slds-theme_error class
|
|
Nov 7, 2020 at 10:40 | comment | added | Edmondo | Is there a default component for errors? | |
Jul 22, 2019 at 18:09 | comment | added | salesforce-sas | It is just the function which receives either data or error. It does not display anything by default. We need to handle the logic to display toast if data is undefined and error is not null. Did I understand your question correctly? | |
Jul 22, 2019 at 17:56 | comment | added | Robert Sösemann | How does @wire function when an exception occurs? Does it display anything? | |
Jul 22, 2019 at 17:54 | vote | accept | Robert Sösemann | ||
Jul 22, 2019 at 17:48 | history | answered | salesforce-sas | CC BY-SA 4.0 |