#include <ErrorDetailManager.h>


Public Types | |
typedef RefCount< ErrorDetailsList > | Pointer |
typedef std::map< Security::ErrorCode, ErrorDetailEntry > | ErrorDetails |
Public Member Functions | |
bool | getRecord (Security::ErrorCode value, ErrorDetailEntry &entry) |
const char * | getErrorDescr (Security::ErrorCode value) |
an error description for an error if exist in list. More... | |
const char * | getErrorDetail (Security::ErrorCode value) |
an error details for an error if exist in list. More... | |
Public Attributes | |
String | errLanguage |
The language of the error-details.txt template, if any. More... | |
ErrorDetails | theList |
The list of error details entries. More... | |
Detailed Description
Used to hold an error-details.txt template in ram. An error-details,.txt is represented by a list of error detail entries (ErrorDetailEntry objects).
Definition at line 38 of file ErrorDetailManager.h.
Member Typedef Documentation
◆ ErrorDetails
typedef std::map<Security::ErrorCode, ErrorDetailEntry> Ssl::ErrorDetailsList::ErrorDetails |
Definition at line 51 of file ErrorDetailManager.h.
◆ Pointer
Definition at line 41 of file ErrorDetailManager.h.
Member Function Documentation
◆ getErrorDescr()
const char * Ssl::ErrorDetailsList::getErrorDescr | ( | Security::ErrorCode | value | ) |
Definition at line 60 of file ErrorDetailManager.cc.
◆ getErrorDetail()
const char * Ssl::ErrorDetailsList::getErrorDetail | ( | Security::ErrorCode | value | ) |
Definition at line 71 of file ErrorDetailManager.cc.
◆ getRecord()
bool Ssl::ErrorDetailsList::getRecord | ( | Security::ErrorCode | value, |
ErrorDetailEntry & | entry | ||
) |
Retrieves the error details for a given error to "entry" object
- Returns
- true on success, false otherwise
Definition at line 46 of file ErrorDetailManager.cc.
References Ssl::ErrorDetailEntry::descr, Ssl::ErrorDetailEntry::detail, Ssl::ErrorDetailEntry::error_no, Ssl::ErrorDetailEntry::name, and theList.
Referenced by Ssl::ErrorDetailsManager::getErrorDetail().
Member Data Documentation
◆ errLanguage
String Ssl::ErrorDetailsList::errLanguage |
Definition at line 50 of file ErrorDetailManager.h.
Referenced by Ssl::ErrorDetailsManager::cacheDetails(), and Ssl::ErrorDetailsManager::getErrorDetail().
◆ theList
ErrorDetails Ssl::ErrorDetailsList::theList |
Definition at line 52 of file ErrorDetailManager.h.
Referenced by getRecord().
The documentation for this class was generated from the following files:
- src/ssl/ErrorDetailManager.h
- src/ssl/ErrorDetailManager.cc