|
Asylo
|
The implementation of the ErrorSpace interface for the GoogleError canonical error space. More...
#include <error_space.h>


Public Types | |
| using | code_type = GoogleError |
Public Member Functions | |
| GoogleErrorSpace (const GoogleErrorSpace &other)=delete | |
| ~GoogleErrorSpace () override=default | |
| GoogleErrorSpace & | operator= (const GoogleErrorSpace &other)=delete |
Public Member Functions inherited from asylo::error::ErrorSpace | |
| ErrorSpace ()=default | |
| ErrorSpace (const ErrorSpace &other)=delete | |
| virtual | ~ErrorSpace ()=default |
| ErrorSpace & | operator= (const ErrorSpace &other)=delete |
Static Public Member Functions | |
| static ErrorSpace const * | GetInstance () |
| Gets the singleton instance of GoogleErrorSpace. More... | |
Static Public Member Functions inherited from asylo::error::ErrorSpace | |
| static ErrorSpace const * | Find (const std::string &name) |
Finds and returns an ErrorSpace singleton pointer whose SpaceName() equals name. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from asylo::error::ErrorSpaceImplementationHelper< GoogleErrorSpace > | |
| ErrorSpaceImplementationHelper (const std::string &space_name, const std::string &default_error_string="Unrecognized Code") | |
Constructs an ErrorSpaceImplementationHelper and registers it as space_name. More... | |
| void | AddTranslationMapEntry (int code, const std::string &error_string, GoogleError google_error_code) |
| Adds an interpretation of an error code as both a string and GoogleError. More... | |
| std::string | SpaceName () const override |
| Gets a name that uniquely identifies the error space. More... | |
| std::string | String (int code) const override |
| Gets a string that describes the error code within the space. More... | |
| GoogleError | GoogleErrorCode (int code) const override |
Converts code to an appropriate value in the GoogleError enum. More... | |
The implementation of the ErrorSpace interface for the GoogleError canonical error space.
| using asylo::error::GoogleErrorSpace::code_type = GoogleError |
|
delete |
|
overridedefault |
|
inlinestatic |
Gets the singleton instance of GoogleErrorSpace.
|
delete |