Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
5631 Zobrazení

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
Zrušit

Pleae show your code.

Autor

Would you help please !!

Autor Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
pro 23
2341
2
pro 23
15623
0
říj 23
33
3
říj 23
790
1
říj 23
569