Nakama C++ Client SDK 2.5.1
Client for Nakama Server
NError Struct Reference

#include <NError.h>

Public Member Functions

 NError ()
 
 NError (const std::string &message, ErrorCode code=ErrorCode::Unknown)
 
 NError (std::string &&message, ErrorCode code=ErrorCode::Unknown)
 

Public Attributes

std::string message
 
ErrorCode code = ErrorCode::Unknown
 

Constructor & Destructor Documentation

◆ NError() [1/3]

NError::NError ( )
inline

◆ NError() [2/3]

NError::NError ( const std::string &  message,
ErrorCode  code = ErrorCode::Unknown 
)
inlineexplicit

◆ NError() [3/3]

NError::NError ( std::string &&  message,
ErrorCode  code = ErrorCode::Unknown 
)
inlineexplicit

Member Data Documentation

◆ code

ErrorCode NError::code = ErrorCode::Unknown

◆ message

std::string NError::message

The documentation for this struct was generated from the following file: