Enum usiagent::error::EventHandlerError [−][src]
pub enum EventHandlerError<K, E> where
K: Debug,
E: Error + Debug + 'static, {
Fail(String),
InvalidState(K),
PlayerError(E),
}
Expand description
イベントハンドラ内で発生したエラー
Variants
Fail(String)
その他のエラー
Tuple Fields of Fail
0: String
内部状態不正
USIPlayer
の実装が投げたエラー
Trait Implementations
Performs the conversion.
impl<'a, T, K, E> From<EventHandlerError<K, E>> for EventDispatchError<'a, T, K, E> where
T: Debug,
K: Debug,
E: Error + Debug,
impl<'a, T, K, E> From<EventHandlerError<K, E>> for EventDispatchError<'a, T, K, E> where
T: Debug,
K: Debug,
E: Error + Debug,
Performs the conversion.
impl<T, E> From<UsiOutputCreateError> for EventHandlerError<T, E> where
T: Debug,
E: Error + Debug,
impl<T, E> From<UsiOutputCreateError> for EventHandlerError<T, E> where
T: Debug,
E: Error + Debug,
Performs the conversion.