diff options
author | Marvin W <git@larma.de> | 2021-05-14 19:26:05 +0200 |
---|---|---|
committer | Marvin W <git@larma.de> | 2021-05-14 19:26:05 +0200 |
commit | 6399892bf2c53fc3701438c752718638baff8e27 (patch) | |
tree | f2d60570240109e5f65f1250807ce90812b484f2 /plugins/crypto-vala/src/error.vala | |
parent | bec73ed3714fc89627392b1dfc74d1b919dbe355 (diff) | |
download | dino-6399892bf2c53fc3701438c752718638baff8e27.tar.gz dino-6399892bf2c53fc3701438c752718638baff8e27.zip |
Move crypto-vala to shared library
Diffstat (limited to 'plugins/crypto-vala/src/error.vala')
-rw-r--r-- | plugins/crypto-vala/src/error.vala | 15 |
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 |