misc: add Version

Closes #22.
misc: add docs for the method Version
client: improve Error type

Export attributes and add documentation.