enum EngineErrorKind {
IntentValidation {
message: String,
},
ChunkValidation {
message: String,
},
Resolver(ResolverError),
EncounterConstruction(EncounterConstructionError),
SpecMetadata(DeclaredSpecMetadataError),
ContentCatalog(ContentCatalogError),
SpellIdConversion {
context: &'static str,
source: SpellIdConversionError,
},
Construction(EngineConstructionError),
SpecConstruction {
message: String,
},
SpecNotFound {
message: String,
},
SimulationRuntime {
message: String,
},
SimulationRun(SimRunError),
}Variants§
IntentValidation
ChunkValidation
Resolver(ResolverError)
EncounterConstruction(EncounterConstructionError)
SpecMetadata(DeclaredSpecMetadataError)
ContentCatalog(ContentCatalogError)
SpellIdConversion
Construction(EngineConstructionError)
SpecConstruction
SpecNotFound
SimulationRuntime
SimulationRun(SimRunError)
Trait Implementations§
Source§impl Debug for EngineErrorKind
impl Debug for EngineErrorKind
Source§impl Display for EngineErrorKind
impl Display for EngineErrorKind
Source§impl Error for EngineErrorKind
impl Error for EngineErrorKind
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()
Source§impl From<ContentCatalogError> for EngineErrorKind
impl From<ContentCatalogError> for EngineErrorKind
Source§fn from(source: ContentCatalogError) -> Self
fn from(source: ContentCatalogError) -> Self
Converts to this type from the input type.
Source§impl From<DeclaredSpecMetadataError> for EngineErrorKind
impl From<DeclaredSpecMetadataError> for EngineErrorKind
Source§fn from(source: DeclaredSpecMetadataError) -> Self
fn from(source: DeclaredSpecMetadataError) -> Self
Converts to this type from the input type.
Source§impl From<EncounterConstructionError> for EngineErrorKind
impl From<EncounterConstructionError> for EngineErrorKind
Source§fn from(source: EncounterConstructionError) -> Self
fn from(source: EncounterConstructionError) -> Self
Converts to this type from the input type.
Source§impl From<ResolverError> for EngineErrorKind
impl From<ResolverError> for EngineErrorKind
Source§fn from(source: ResolverError) -> Self
fn from(source: ResolverError) -> Self
Converts to this type from the input type.
Source§impl From<SimRunError> for EngineErrorKind
impl From<SimRunError> for EngineErrorKind
Source§fn from(source: SimRunError) -> Self
fn from(source: SimRunError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EngineErrorKind
impl !RefUnwindSafe for EngineErrorKind
impl Send for EngineErrorKind
impl Sync for EngineErrorKind
impl Unpin for EngineErrorKind
impl UnsafeUnpin for EngineErrorKind
impl !UnwindSafe for EngineErrorKind
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