comp • gb.test • assert • error

Assert.Error (gb.test)

Static Sub Error ( [ Message As String ] )

Asserts that an error happened. You have to create the error with Try. For example: Try(2/0)