BE_GetLastError

BE_GetLastError

Returns the last error generated by the plugin. Each of the libraries we use have their own error codes. Not currently applicable in all situtations.

Common places to look up errors

Most of the error codes are returned by libraries we use or the OS itself, not by the plugin.  So there's very few "plugin" error codes.  And a list here or codes returned would be out of date all the time.  Most error codes are either cURL related, file system related, or OS related.  

In the case of the HTTP, FTP, SMTP etc functions we're using the cURL libraries. There is a list of error codes here : http://curl.haxx.se/libcurl/c/libcurl-errors.html

When doing Windows file operations, common errors are : https://docs.microsoft.com/en-us/windows/win32/debug/system-error-codes--0-499-

For Mac OS, there is a somewhat useful list here : https://krypted.com/lists/comprehensive-list-of-mac-os-x-error-codes/

Version : 1.2
2.0 : changed the way this works so that successive calls to the BE_GetLastError function don't reset the value that is returned, it's only reset when performing any other function call.

Result : the code or text of the last error generated by a function call.

Still need help? Contact Us Contact Us