Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify request/response types at the FacTec API client #120

Merged
merged 13 commits into from
Sep 13, 2021
Prev Previous commit
Next Next commit
Delete AlreadyEnrolled error from db_enroll
tonycdot committed Sep 13, 2021
commit 85c27a41fb5793129481e9dd3d5a023a1df4d6a7
3 changes: 0 additions & 3 deletions crates/facetec-api-client/src/db_enroll.rs
Original file line number Diff line number Diff line change
@@ -46,9 +46,6 @@ pub struct Response {
/// The `/3d-db/enroll`-specific error kind.
#[derive(thiserror::Error, Debug, PartialEq)]
pub enum Error {
/// The face scan or public key were already enrolled.
#[error("already enrolled")]
AlreadyEnrolled,
/// Bad request error occured.
#[error("bad request: {0}")]
BadRequest(ErrorBadRequest),