Use project exceptions
Created by: vitormattos
There are many places in the code using \Exception, it is good that the exceptions generated are unique to LibreSign to improve tracking of possible errors.
For example, where to find:
throw \Exception
Replace with:
use OCA\Libresign\Exception\LibresignException;
// ...
throw LibresignException