Open raj-qt opened 6 years ago
any ideal? same problem here, exception belong to runtime exception can not catched
This is a Swift runtime crash rather than a thrown Objective-C exception. I don't believe this project can be used how you're using it.
Hi, I am using the code to handle swift exception but unfortunately its not woking.
Here is the code i am trying.
var array = [String] (); SwiftTryCatch.try({ var val = array[40] }, catch: { (error) in // code to handle exception print("in catch") }, finallyRun: { // code to do any way print("in finally") })
Its just crashing on line var val = array[40] and not catch the exception in catch clause
Can anyone help me please?