update README examples to reflect new exception messages [skip ci]
add better exception message for invalid type annotations
declare class constants for existing annotations
add better exception message for invalid value type
update README examples to reflect newer exception messages [skip ci]