Navaron Bracke

port error codes to iOS as well

@@ -20,7 +20,7 @@ struct MobileScannerErrorCodes { @@ -20,7 +20,7 @@ struct MobileScannerErrorCodes {
20 // because it uses the error message from the undelying error. 20 // because it uses the error message from the undelying error.
21 static let BARCODE_ERROR = "MOBILE_SCANNER_BARCODE_ERROR" 21 static let BARCODE_ERROR = "MOBILE_SCANNER_BARCODE_ERROR"
22 // The error code 'CAMERA_ERROR' does not have an error message, 22 // The error code 'CAMERA_ERROR' does not have an error message,
23 - // because it uses the error message from the underlying error. 23 + // because it uses the error message from the underlying error.
24 static let CAMERA_ERROR = "MOBILE_SCANNER_CAMERA_ERROR" 24 static let CAMERA_ERROR = "MOBILE_SCANNER_CAMERA_ERROR"
25 static let GENERIC_ERROR = "MOBILE_SCANNER_GENERIC_ERROR" 25 static let GENERIC_ERROR = "MOBILE_SCANNER_GENERIC_ERROR"
26 static let GENERIC_ERROR_MESSAGE = "An unknown error occurred." 26 static let GENERIC_ERROR_MESSAGE = "An unknown error occurred."