Method: GetLastError
Parameters
This function takes no parameters
Description
When an error is encountered, the A Wee Tiny Blog object will stop whatever it was doing and set an internal flag with information about the error.
This method provides the current status of the error flag. To reset it, use the
ClearError method.
Return value
The return value will be one of the
predefined error codes. All of these are strings, so you can either write them directly to a log or
echo them.