Home > PHP > Function > GnuPG > gnupg_geterror()

gnupg_geterror()

gnupg_geterror - Returns the errortext, if a function fails

Syntax

string gnupg_geterror (resource $identifier)

Arguments

  • identifier - The gnupg identifier, from a call to gnupg_init() or gnupg.

Description

Version

PHP PECL gnupg >= 0.1

Return value

Returns an errortext, if an error has occurred, otherwise FALSE.