Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
5695 Visualizzazioni

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
Abbandona

Pleae show your code.

Autore

Would you help please !!

Autore Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
dic 23
2384
2
dic 23
15668
0
ott 23
33
3
ott 23
790
1
ott 23
569