mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-27 12:52:34 +00:00
refactor to use exception helper factories
This commit is contained in:
@@ -149,7 +149,7 @@ pub fn createDecoder<'a>(
|
||||
_ => {}
|
||||
}
|
||||
|
||||
Err(Exceptions::IllegalStateException(Some(format!(
|
||||
Err(Exceptions::illegalState(format!(
|
||||
"unknown decoder: {information}"
|
||||
))))
|
||||
)))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user