Skip to Content
Menu
This question has been flagged
2 Replies
5681 Views

Hello my Friends,

I want to ask you how can i raise an exception in a controller.

I have tried as usual raise UserError but it doesnt work ant i got this:

 

Avatar
Discard

Pleae show your code.

Author

Would you help please !!

Author Best Answer

It i too simple my Friend.

I want to launch a warning like those launched in models class. But, this time from controller.

I have tried the raise.UserError it doesnt wok.

Would you help please?!

Avatar
Discard
Related Posts Replies Views Activity
0
Dec 23
2375
2
Dec 23
15654
0
Oct 23
33
3
Oct 23
790
1
Oct 23
569