class GPGME::Error

def code

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

Return the error code.
def code
  GPGME::gpgme_err_code(@error)
end

def initialize(error)

def initialize(error)
  @error = error
end

def message

Return a description of the error code.
def message
  GPGME::gpgme_strerror(@error)
end

def source

achieve this goal.
the problem. This is not always true, but it is attempted to
the error source will give an indication to where to look for
place where an error was encoded into an error value. Usually
it is the place where the error happened, sometimes it is the
The error source has not a precisely defined meaning. Sometimes

Return the error source.
def source
  GPGME::gpgme_err_source(@error)
end