device: Set an error if trying to delete a print that is not enrolled

This commit is contained in:
Marco Trevisan (Treviño)
2020-12-06 18:30:53 +01:00
parent fd72c0b81b
commit 7d87f5e664
3 changed files with 49 additions and 16 deletions

View File

@ -355,6 +355,8 @@
<doc:error name="&ERROR_PERMISSION_DENIED;">if the caller lacks the appropriate PolicyKit authorization</doc:error>
<doc:error name="&ERROR_CLAIM_DEVICE;">if the device was not claimed</doc:error>
<doc:error name="&ERROR_INVALID_FINGERNAME;">if the finger name passed is invalid</doc:error>
<doc:error name="&ERROR_NO_ENROLLED_PRINTS;">if the chosen user doesn't have the requsted fingerprint enrolled</doc:error>
<doc:error name="&ERROR_INTERNAL;">if there was an internal error</doc:error>
</doc:errors>
</doc:doc>
</method>