The `getLastError` command was turned into an exception as of v5.1, perhaps its time to remove it altogether before v7.0?