Better error handling without a PKCS#11 module