Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
mobile_scanner
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Navaron Bracke
2022-11-19 18:27:36 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9f09c33133d59de588948bfa12c53fb3035cb35d
9f09c331
1 parent
04b4e5ff
implement error code enum
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
lib/src/enums/mobile_scanner_error_code.dart
lib/src/enums/mobile_scanner_error_code.dart
0 → 100644
View file @
9f09c33
/// This enum defines the different error codes for the mobile scanner.
enum
MobileScannerErrorCode
{
/// The controller was used
/// while it was not yet initialized using [MobileScannerController.start].
controllerUnititialized
,
/// A generic error occurred.
///
/// This error code is used for all errors that do not have a specific error code.
genericError
,
/// The permission to use the camera was denied.
permissionDenied
,
}
...
...
Please
register
or
login
to post a comment