You created a Class procedure, but ended it with the End keyword, instead of the End Class statement. Always terminate a Class procedure with an End Class statement.
To correct this error
-
Terminate your Class procedure with the End Class statement.