deepface icon indicating copy to clipboard operation
deepface copied to clipboard

[FEATURE]: Better errors

Open dbapl opened this issue 3 months ago • 1 comments

Description

I would like to get better errors. Now error is descriptive and hard to detect what caused a problem to show meaningful message to end user.

Lets say it detected spoof im img1. It could return "error_code": "IMG1_SPOOF".
For bad file format "error_code": "IMG1_BAD_FORMAT". An so on.

Parsing returned exception with stack trace is not developer friendly ;)

Additional Info

No response

dbapl avatar Aug 30 '25 09:08 dbapl

I cannot agree more

serengil avatar Aug 30 '25 09:08 serengil