Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
5698 Visualizações

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
Cancelar

Pleae show your code.

Autor

Would you help please !!

Autor Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
0
dez. 23
2385
2
dez. 23
15669
0
out. 23
33
3
out. 23
790
1
out. 23
569