| 45 | */ |
| 46 | |
| 47 | String Error::GetLastError(const char** file, unsigned int* line, const char** function) |
| 48 | { |
| 49 | if (file) |
| 50 | *file = s_lastErrorFile; |
| 51 | |
| 52 | if (line) |
| 53 | *line = s_lastErrorLine; |
| 54 | |
| 55 | if (function) |
| 56 | *function = s_lastErrorFunction; |
| 57 | |
| 58 | return s_lastError; |
| 59 | } |
| 60 | |
| 61 | /*! |
| 62 | * \brief Gets the last system error code |