GOG GALAXY SDK Documentation
IError Class Referenceabstract

Base interface for exceptions. More...

#include <Errors.h>

Inheritance diagram for IError:
[legend]

Public Types

enum  Type { UNAUTHORIZED_ACCESS , INVALID_ARGUMENT , INVALID_STATE , RUNTIME_ERROR }
 Type of error.
 

Public Member Functions

virtual const char * GetName () const =0
 Returns the name of the error. More...
 
virtual const char * GetMsg () const =0
 Returns the error message. More...
 
virtual Type GetType () const =0
 Returns the type of the error. More...
 

Detailed Description

Base interface for exceptions.

Member Function Documentation

◆ GetMsg()

virtual const char* GetMsg ( ) const
pure virtual

Returns the error message.

Returns
The error message.

◆ GetName()

virtual const char* GetName ( ) const
pure virtual

Returns the name of the error.

Returns
The name of the error.

◆ GetType()

virtual Type GetType ( ) const
pure virtual

Returns the type of the error.

Returns
The type of the error.