Open
Description
Currently it's possible to delete a client that does not exist, example with the tool:
[hugdev01@machine parsec-tool]$ ./target/debug/parsec-tool list-clients
[INFO ] No clients in the service.
[hugdev01@machine parsec-tool]$ ./target/debug/parsec-tool delete-client -c "DO_NOT_DELETE_ME🤪"
[INFO ] Client "DO_NOT_DELETE_ME🤪" deleted.
Maybe we should do a list_clients
inside the implementation of delete_clients
and check if the client requisted does exist before? If not we could return PsaErrorDoesNotExist
.
We should also update the page in the book.