Method: GPGME::Error#code

Defined in:
lib/gpgme/error.rb

#codeObject

Return the error code.

The error code indicates the type of an error, or the reason why an operation failed.

[View source]

12
13
14
# File 'lib/gpgme/error.rb', line 12

def code
  GPGME::gpgme_err_code(@error)
end