Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
5633 Tampilan

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
Buang

Pleae show your code.

Penulis

Would you help please !!

Penulis Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
0
Des 23
2341
2
Des 23
15623
0
Okt 23
33
3
Okt 23
790
1
Okt 23
569