Translate appearance and outfit parity tests

This commit is contained in:
2026-08-08 20:29:15 +02:00
parent ffe559db61
commit a78f9fba76
21 changed files with 4111 additions and 1902 deletions

View File

@@ -57,6 +57,8 @@ pub enum Error {
IndexOutOfRange,
/// An operation observed a requested cancellation.
Cancelled,
/// An HTTP request completed with an unsuccessful response.
HttpRequest,
}
impl Error {
@@ -69,7 +71,8 @@ impl Error {
| Self::Argument
| Self::InvalidOperation
| Self::IndexOutOfRange
| Self::Cancelled => None,
| Self::Cancelled
| Self::HttpRequest => None,
}
}
}
@@ -91,6 +94,7 @@ impl fmt::Display for Error {
}
Self::IndexOutOfRange => formatter.write_str("index was out of range"),
Self::Cancelled => formatter.write_str("operation was cancelled"),
Self::HttpRequest => formatter.write_str("HTTP request failed"),
}
}
}