expose is true when using the error constructor on ClientError