mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
refactor to use exception helper factories
This commit is contained in:
@@ -70,7 +70,7 @@ pub fn decode_with_hints(
|
||||
correctErrors(&mut codewords, 20, 68, 56, ODD)?;
|
||||
datawords = vec![0u8; 78];
|
||||
}
|
||||
_ => return Err(Exceptions::NotFoundException(None)),
|
||||
_ => return Err(Exceptions::notFoundEmpty()),
|
||||
}
|
||||
|
||||
datawords[0..10].clone_from_slice(&codewords[0..10]);
|
||||
|
||||
Reference in New Issue
Block a user