If any error has happened this function can be used to retrieve the error message that the underlying CURL library supplied.
Usage: print curl::error(CURL)
print curl::error(CURL)