From 6399892bf2c53fc3701438c752718638baff8e27 Mon Sep 17 00:00:00 2001 From: Marvin W Date: Fri, 14 May 2021 19:26:05 +0200 Subject: Move crypto-vala to shared library --- plugins/crypto-vala/src/error.vala | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 plugins/crypto-vala/src/error.vala (limited to 'plugins/crypto-vala/src/error.vala') diff --git a/plugins/crypto-vala/src/error.vala b/plugins/crypto-vala/src/error.vala deleted file mode 100644 index 5007d725..00000000 --- a/plugins/crypto-vala/src/error.vala +++ /dev/null @@ -1,15 +0,0 @@ -namespace Crypto { - -public errordomain Error { - ILLEGAL_ARGUMENTS, - GCRYPT, - AUTHENTICATION_FAILED, - UNKNOWN -} - -internal void may_throw_gcrypt_error(GCrypt.Error e) throws Error { - if (((int)e) != 0) { - throw new Crypto.Error.GCRYPT(e.to_string()); - } -} -} \ No newline at end of file -- cgit v1.2.3-70-g09d2