aboutsummaryrefslogtreecommitdiff
path: root/plugins/crypto-vala/src/error.vala
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/crypto-vala/src/error.vala')
-rw-r--r--plugins/crypto-vala/src/error.vala15
1 files changed, 0 insertions, 15 deletions
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