I’m trying to learn the error handling system in Xojo and have a question.
I was trying to open and write to a file and received e.ErrorNumber of “2” which I looked up and found meant “ENOENT 2 No such file or directory” but the e.Reason and e.Message properties return nothing.
' do something to generate an error here
Exception e As RuntimeException
MsgBox(e.ErrorNumber.ToText)
MsgBox(e.Reason)
MsgBox(e.Message)
Is it normal for the e.Reason and e.Message to return nothing? Shouldn’t they return a textual description of the error?
Is this a problem with Xojo on the Raspberry Pi?
Am I doing something wrong?
-Wes