Wrapper exceptions

closes #24 
would probably be nicer to avoid code-replication