Skip to content

Commit

Permalink
Allow dead_code for robonode-server related errors
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrylavrenov committed Jul 17, 2024
1 parent e366c4f commit b9aad6f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions crates/robonode-server/src/logic/op_authenticate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ pub struct Response {
}

/// Errors for the authenticate operation.
#[allow(dead_code)]
#[derive(Debug)]
pub enum Error {
/// The provided opaque liveness data could not be decoded.
Expand Down
1 change: 1 addition & 0 deletions crates/robonode-server/src/logic/op_enroll.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ pub struct Request {
pub struct Response;

/// The errors on the enroll operation.
#[allow(dead_code)]
#[derive(Debug)]
pub enum Error {
/// The provided public key failed to load because it was invalid.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ pub struct Response {
}

/// Errors for the get facetec session token operation.
#[allow(dead_code)]
#[derive(Debug)]
pub enum Error {
/// Internal error at session token retrieval due to the underlying request
Expand Down

0 comments on commit b9aad6f

Please sign in to comment.