Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
2 Besvarelser
5691 Visninger

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
Kassér

Pleae show your code.

Forfatter

Would you help please !!

Forfatter Bedste svar

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
0
dec. 23
2381
2
dec. 23
15664
0
okt. 23
33
3
okt. 23
790
1
okt. 23
569