Raise CameraError instead of ValueError