fix: extract deobf data with global strings variable
This commit is contained in:
parent
e8acbfbbcf
commit
4ce6746be5
3 changed files with 206 additions and 151 deletions
|
|
@ -151,6 +151,8 @@ pub enum AuthError {
|
|||
}
|
||||
|
||||
pub(crate) mod internal {
|
||||
use std::borrow::Cow;
|
||||
|
||||
use super::{Error, ExtractionError};
|
||||
|
||||
/// Error that occurred during the initialization
|
||||
|
|
@ -168,7 +170,7 @@ pub(crate) mod internal {
|
|||
Extraction(&'static str),
|
||||
/// Unspecified error
|
||||
#[error("error: {0}")]
|
||||
Other(&'static str),
|
||||
Other(Cow<'static, str>),
|
||||
}
|
||||
|
||||
impl From<DeobfError> for Error {
|
||||
|
|
|
|||
Reference in a new issue