blob: bae4ad08317f2c669d3fe00909bfdd7cd0b21e25 (
plain) (
tree)
|
|
namespace Crypto {
public errordomain Error {
ILLEGAL_ARGUMENTS,
GCRYPT
}
internal void may_throw_gcrypt_error(GCrypt.Error e) throws Error {
if (((int)e) != 0) {
throw new Crypto.Error.GCRYPT(e.to_string());
}
}
}
|