GcryptException.throwIfGcryptError

Throw if variable error indicates an error. The exception message is set to contain the error from libgcrypt.

class GcryptException
void
throwIfGcryptError
(,
istring file = __FILE__
,
int line = __LINE__
)

Parameters

error gcry_error_t

error code from gcrypt

file istring

file from which this exception can be thrown

line int

line from which this exception can be thrown

Throws

this if error != 0

Meta