A Alex_197 Well-Known Member Licensed User Longtime User Jan 3, 2023 #1 Hi, sorry for might be a dumb question. Is there any difference between LastException.Message and LastException.Description? I've an got an error message "Cannot Parse" and when it happened in try/catch was LastException.Message. Do I need to replace it with LastException.Description or just with LastException.? Because error text Cannot Parse doesn't tell me anything about what caused this error. Thank you. I accidentally put this question first into Code Snippets and don't know how to delete it from there.
Hi, sorry for might be a dumb question. Is there any difference between LastException.Message and LastException.Description? I've an got an error message "Cannot Parse" and when it happened in try/catch was LastException.Message. Do I need to replace it with LastException.Description or just with LastException.? Because error text Cannot Parse doesn't tell me anything about what caused this error. Thank you. I accidentally put this question first into Code Snippets and don't know how to delete it from there.
A Alex_197 Well-Known Member Licensed User Longtime User Jan 3, 2023 #3 Erel said: View attachment 137631 Use Message. Click to expand... Thank you Erel. It will be even better if we would have a StackTrace or at least a line where the error happens. Upvote 0
Erel said: View attachment 137631 Use Message. Click to expand... Thank you Erel. It will be even better if we would have a StackTrace or at least a line where the error happens.
Erel B4X founder Staff member Licensed User Longtime User Jan 3, 2023 #4 It is a thin wrapper above NSError. NSError doesn't store this information. Upvote 0