define var type
Exception/error signature has changed to Dynamic
fixes #2 and Enums now need prefix..it is so strange