General error handling

Hello!

Is there a way to do general error handling?
Same in Javascript, for example:

try{
... queries
} catch(error) {
  toast(error); ou toast('Uma mensagem que a gente escreve fixa la')
}

Yes there is…

but it is not often used to control flow.

3 Likes

Or if you want to track any unhandled error in the application, then you need your own logger handler that will check error level messages for the process errors.

2 Likes