You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//! `PeerKeyNotValid` | Authentication | The supplied key is not valid. It may not be registered or expired.
6
-
//! `PeerNotAuthenticated` | Authentication | The peer did not provide the authentication key.
7
-
//! `TorrentNotWhitelisted` | Authorization | The action cannot be perform on a not-whitelisted torrent (it only applies for trackers running in `listed` or `private_listed` modes).
8
-
//!
1
+
//! Errors returned by the core tracker.
9
2
use std::panic::Location;
10
3
11
-
use bittorrent_http_protocol::v1::responses;
12
4
use bittorrent_primitives::info_hash::InfoHash;
13
5
use torrust_tracker_located_error::LocatedError;
14
6
15
7
usesuper::authentication::key::ParseKeyError;
16
8
usesuper::databases;
17
9
18
-
/// Authentication or authorization error returned by the core `Tracker`
10
+
/// Whitelist errors returned by the core tracker.
19
11
#[derive(thiserror::Error,Debug,Clone)]
20
-
pubenumError{
21
-
// Authentication errors
22
-
#[error("The supplied key: {key:?}, is not valid: {source}")]
0 commit comments