fn learned_spell_resolution_error( source_spell_id: i32, learned_spell_id: i32, error: &impl Display, ) -> EngineError