function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sandeep PeddireddySandeep Peddireddy 

Would i be able to pass in the response object or the response.getError() list to an event?

I am trying to create a custom Toast event for the response.getError() list of errors, and tried to pass in the response and response.getError() as parameter to event but, it is getting passed as unformatted object instead of a list.
Pramodh KumarPramodh Kumar
@Sandeep Peddireddy 

Could you please post your response.getError() to help you out, without seeing the code answer to your would be very difficult.


Thanks
Pramodh.