enum ResolverErrorKind {
Show 22 variants
SpellNotFound {
spell_id: SpellId,
},
SpellEffectNotFound {
spell_id: SpellId,
effect_index: u8,
},
ItemNotFound {
item_id: i32,
},
TraitTreeNotFound {
spec_id: i32,
},
ExpansionTraitTreeNotFound {
expansion_id: i32,
system: String,
},
SpecNotFound {
spec_id: i32,
},
RotationScriptNotFound {
rotation_id: String,
},
ExpectedStatsNotFound {
expansion_id: i32,
lvl: i32,
},
CreatureNotFound {
creature_id: i32,
},
ContentTuningNotFound {
content_tuning_id: i32,
},
ExpectedStatModNotFound {
expected_stat_mod_id: i32,
},
ChallengeModeHealthNotFound {
keystone_level: i32,
},
ItemDamageScalingNotFound {
weapon_type: String,
item_level: i32,
},
EnchantmentNotFound {
enchantment_id: i32,
},
NoScalingData,
Unsupported {
method: &'static str,
},
TraitDecode(TraitError),
Filesystem {
source: Error,
},
Decode {
op: &'static str,
source: Box<dyn Error + Send + Sync + 'static>,
},
JsBridge {
method: String,
message: String,
},
Backend {
op: &'static str,
source: Box<dyn Error + Send + Sync + 'static>,
},
EnvVar(String),
}Variants§
SpellNotFound
SpellEffectNotFound
ItemNotFound
TraitTreeNotFound
ExpansionTraitTreeNotFound
SpecNotFound
RotationScriptNotFound
ExpectedStatsNotFound
CreatureNotFound
ContentTuningNotFound
ExpectedStatModNotFound
ChallengeModeHealthNotFound
ItemDamageScalingNotFound
EnchantmentNotFound
NoScalingData
Unsupported
TraitDecode(TraitError)
Filesystem
Decode
JsBridge
Backend
EnvVar(String)
Trait Implementations§
Source§impl Debug for ResolverErrorKind
impl Debug for ResolverErrorKind
Source§impl Display for ResolverErrorKind
impl Display for ResolverErrorKind
Source§impl Error for ResolverErrorKind
impl Error for ResolverErrorKind
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for ResolverErrorKind
impl !RefUnwindSafe for ResolverErrorKind
impl Send for ResolverErrorKind
impl Sync for ResolverErrorKind
impl Unpin for ResolverErrorKind
impl UnsafeUnpin for ResolverErrorKind
impl !UnwindSafe for ResolverErrorKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> SpecConfig for T
impl<T> SpecConfig for T
§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of [
ToCompactString::to_compact_string()] Read more§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a [
CompactString]. Read more