mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 12:22:34 +00:00
refactor to use exception helper factories
This commit is contained in:
@@ -129,7 +129,7 @@ pub fn decode_bitmatrix_with_hints(
|
||||
if let Some(fe) = fe {
|
||||
Err(fe)
|
||||
} else {
|
||||
Err(ce.unwrap_or(Exceptions::ChecksumException(None)))
|
||||
Err(ce.unwrap_or(Exceptions::checksumEmpty()))
|
||||
}
|
||||
}
|
||||
_ => Err(er),
|
||||
|
||||
Reference in New Issue
Block a user