hi there,
I cant use my own try, catch stuff. It seems that SS do that before ... ?
How to solve that, in some cases I want to use my own try,catch block ...
thx
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
hi there,
I cant use my own try, catch stuff. It seems that SS do that before ... ?
How to solve that, in some cases I want to use my own try,catch block ...
thx
You can use your own try / catch in SS methods. Currently the core doesn't use exceptions so for anything that throws user_error() you cannot 'catch' it but for your own code go crazy!