Use a GPhoto2Error exception.

This makes it easier for users to trap gphoto2 specific errors, rather
than using a standard exception that could be anything.