
try{
something..
}
catch(Exception ex){ Utils.sendChatter('chatter message');
throw new AuraHandledException('Something went wrong: '+ ex.getMessage());
}
1 resposta
Try this,https://www.biswajeetsamal.com/blog/tag/aurahandledexception/I hope you find the above information is helpful. If it does, please mark as Best Answer to help others too.Thanks.