mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-27 21:02:35 +00:00
Use thiserror for error handling with less boilerplate
This commit is contained in:
@@ -152,7 +152,7 @@ pub fn createDecoder<'a>(
|
||||
_ => {}
|
||||
}
|
||||
|
||||
Err(Exceptions::illegalStateWith(format!(
|
||||
Err(Exceptions::illegal_state_with(format!(
|
||||
"unknown decoder: {information}"
|
||||
)))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user