expose is true when using the error constructor on ClientError

This fixes #6