Better error handling for contract description.
Merge pull request #33 from tgxworld/better_error_handling

Better error handling for contract description.