|
|
@ -22,7 +22,6 @@ pub enum TriggerCreateItem { |
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#[derive(thiserror::Error, Debug)]
|
|
|
|
enum ItemStateError {
|
|
|
|
#[error("character {0} not found")]
|
|
|
@ -42,17 +41,9 @@ enum ItemStateError { |
|
|
|
Dummy,
|
|
|
|
|
|
|
|
#[error("gateway")]
|
|
|
|
GatewayError(GatewayError),
|
|
|
|
}
|
|
|
|
|
|
|
|
impl From<GatewayError> for ItemStateError {
|
|
|
|
fn from(other: GatewayError) -> ItemStateError {
|
|
|
|
ItemStateError::GatewayError(other)
|
|
|
|
}
|
|
|
|
GatewayError(#[from] GatewayError),
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
enum GatewayActions {
|
|
|
|
ItemNote(ItemEntityId, ItemNote),
|
|
|
|
}
|
|
|
|