Returns True if the last web request resulted in a (recognized) DBMS error page
()
| 2778 | return retVal |
| 2779 | |
| 2780 | def wasLastResponseDBMSError(): |
| 2781 | """ |
| 2782 | Returns True if the last web request resulted in a (recognized) DBMS error page |
| 2783 | """ |
| 2784 | |
| 2785 | threadData = getCurrentThreadData() |
| 2786 | return threadData.lastErrorPage and threadData.lastErrorPage[0] == threadData.lastRequestUID |
| 2787 | |
| 2788 | def wasLastResponseHTTPError(): |
| 2789 | """ |
searching dependent graphs…