aboutsummaryrefslogtreecommitdiff
path: root/planetwars-matchrunner/src/match_context.rs
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2022-09-24 23:37:23 +0200
committerIlion Beyst <ilion.beyst@gmail.com>2022-09-24 23:37:23 +0200
commitf7261e165bda87dae49c879bdac850479cc20c19 (patch)
tree19ce531bcd0476e721890e80d3fdbe085709cd29 /planetwars-matchrunner/src/match_context.rs
parente86fbc7275c036cefe75d7c46b0f11898bde1c6c (diff)
downloadplanetwars.dev-f7261e165bda87dae49c879bdac850479cc20c19.tar.xz
planetwars.dev-f7261e165bda87dae49c879bdac850479cc20c19.zip
detect bot crashes
Diffstat (limited to 'planetwars-matchrunner/src/match_context.rs')
-rw-r--r--planetwars-matchrunner/src/match_context.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/planetwars-matchrunner/src/match_context.rs b/planetwars-matchrunner/src/match_context.rs
index bdc87a3..6e6a088 100644
--- a/planetwars-matchrunner/src/match_context.rs
+++ b/planetwars-matchrunner/src/match_context.rs
@@ -163,6 +163,7 @@ impl Future for Request {
#[derive(Debug, Clone, PartialEq, Eq)]
pub enum RequestError {
Timeout,
+ BotTerminated,
}
pub type RequestResult<T> = Result<T, RequestError>;