Showing
1 changed file
with
14 additions
and
0 deletions
lib/src/enums/mobile_scanner_error_code.dart
0 → 100644
| 1 | +/// This enum defines the different error codes for the mobile scanner. | ||
| 2 | +enum MobileScannerErrorCode { | ||
| 3 | + /// The controller was used | ||
| 4 | + /// while it was not yet initialized using [MobileScannerController.start]. | ||
| 5 | + controllerUnititialized, | ||
| 6 | + | ||
| 7 | + /// A generic error occurred. | ||
| 8 | + /// | ||
| 9 | + /// This error code is used for all errors that do not have a specific error code. | ||
| 10 | + genericError, | ||
| 11 | + | ||
| 12 | + /// The permission to use the camera was denied. | ||
| 13 | + permissionDenied, | ||
| 14 | +} |
-
Please register or login to post a comment