Skip to Content
Menu
This question has been flagged
2 Replies
5675 Rodiniai

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:

 

Portretas
Atmesti

Pleae show your code.

Autorius

Would you help please !!

Autorius 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?!

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
gruod. 23
2372
2
gruod. 23
15654
0
spal. 23
33
3
spal. 23
790
1
spal. 23
569