You need to sign in to do that
Don't have an account?
Meena25
script thrown exception
Having issues with below code: Error not showing up on lightning component
If (ownerUser != null){
AuraHandledException e = new AuraHandledException('The application is already with team');
e.setMessage('The application is already with team');
system.debug(e);
//catch(AuraHandledException e){
throw e;
//}
//throw new AuraHandledException('The application is already with team');
}
Apex class:
Component controller.Js
I redid the entire code and i was able to resolve the issue @dandamudi
I handled the error handling in JS helper(client side).
Now, even after having init in my lightning component still am seeing the popup with button name which i do not want it
I already have this in my lightning cmp <aura:handler name="init" value="{!this}" action="{!c.doInit}"/>
what else am i missing?