Close DDD refactor and remove generated asset proxy
This commit is contained in:
@@ -14,6 +14,7 @@ pub enum StorySessionFieldError {
|
||||
MissingNarrativeText,
|
||||
MissingEventId,
|
||||
InvalidVersion,
|
||||
InvalidGameplayReward,
|
||||
}
|
||||
|
||||
impl fmt::Display for StorySessionFieldError {
|
||||
@@ -29,6 +30,7 @@ impl fmt::Display for StorySessionFieldError {
|
||||
Self::MissingNarrativeText => f.write_str("story_event.narrative_text 不能为空"),
|
||||
Self::MissingEventId => f.write_str("story_event.event_id 不能为空"),
|
||||
Self::InvalidVersion => f.write_str("story_session.version 必须大于 0"),
|
||||
Self::InvalidGameplayReward => f.write_str("RPG 结算奖励字段非法"),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user