ryuta46

bug: Fix error type.

@@ -294,10 +294,10 @@ public class MobileScanner: NSObject, AVCaptureVideoDataOutputSampleBufferDelega @@ -294,10 +294,10 @@ public class MobileScanner: NSObject, AVCaptureVideoDataOutputSampleBufferDelega
294 294
295 } 295 }
296 296
297 - /// Set the zoom factor of the camera 297 + /// Reset the zoom factor of the camera
298 func resetScale() throws { 298 func resetScale() throws {
299 if (device == nil) { 299 if (device == nil) {
300 - throw MobileScannerError.torchWhenStopped 300 + throw MobileScannerError.zoomWhenStopped
301 } 301 }
302 302
303 do { 303 do {