mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 22:46:39 +01:00
set default error type
This commit is contained in:
parent
ffb5f29362
commit
245355ea3e
1 changed files with 1 additions and 1 deletions
|
@ -58,4 +58,4 @@ impl<D, E> SubtransitionOutputType for TransitionOut<D, E> {
|
|||
pub type TransitionIn = UpdateWithCx<Message>;
|
||||
|
||||
/// A type returned from a FSM (sub)transition function.
|
||||
pub type TransitionOut<D, E> = Result<DialogueStage<D>, E>;
|
||||
pub type TransitionOut<D, E = crate::RequestError> = Result<DialogueStage<D>, E>;
|
||||
|
|
Loading…
Reference in a new issue