[Gambas-user] Error as Boolean & ERROR as Class
Ian Roper
ian.roper at ...1974...
Wed Dec 26 00:01:46 CET 2012
Greetings,
Is there any way to pass the ERROR class as a parameter in a subroutine ?
It always defaults to the Boolean type when used as below
Global_Module
Public Sub ManageError(MyError as ERROR)
Message.Error(MyError.Text & " Occured at " MyError.Class)
//Other error management handling/reporting
End
Calling from a form or class
Global_Module.ManageError(ERROR)
Gambas Error text "Wanted Error, got Boolean instead"
Cordialemont,
Ian Roper
Warnbro
Western Australia
More information about the User
mailing list