mgd_errstr
mgd_errstr -- Get description of latest Midgard error
Description
string mgd_errstr()
Returns a description for the latest error code.
Example
<?php
if (!$article->update())
{
echo "Failed to update article, reason ".mgd_errstr();
}
?>
Will print something like Failed to update article, reason Name exists.
