Add exception type and minor update to doc string

Fixes #185