GcryptException.throwNewIfGcryptError

Throws a new instance of this class if error indicates an error. The exception message is set to contain the error from libgcrypt.

class GcryptException
static
void
throwNewIfGcryptError
(,
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

a new instance of this class if error != 0

Meta