diff options
Diffstat (limited to 'src/lib/prov/pkcs11/p11.h')
-rw-r--r-- | src/lib/prov/pkcs11/p11.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/prov/pkcs11/p11.h b/src/lib/prov/pkcs11/p11.h index 597a8e125..99c2d0b33 100644 --- a/src/lib/prov/pkcs11/p11.h +++ b/src/lib/prov/pkcs11/p11.h @@ -2875,6 +2875,8 @@ class BOTAN_PUBLIC_API(2,0) PKCS11_Error : public Exception Exception("PKCS11 error", what) { } + + ErrorType error_type() const noexcept override { return ErrorType::Pkcs11Error; } }; class BOTAN_PUBLIC_API(2,0) PKCS11_ReturnError final : public PKCS11_Error |