(GRAPH-RESULT)
Returns the error-id corresponding to last BGI call. Use it with
GRAPH-ERROR-MSG
to signal an error (already done for you).