TorchCraftAI
A bot for machine learning research on StarCraft: Brood War
Public Member Functions | Public Attributes | Static Protected Member Functions | List of all members
common::AssertionFailure Class Reference

#include <assert.h>

Inherits common::Exception.

Public Member Functions

 AssertionFailure (std::string_view condition, std::string_view message, const char *file, int line, backward::StackTrace const &st)
 
- Public Member Functions inherited from common::Exception
 Exception (std::string_view what, const char *file="unknown_file", int line=0)
 
 Exception (std::string_view what, const char *file, int line, backward::StackTrace st)
 
void print ()
 

Public Attributes

std::string_view condition
 
- Public Attributes inherited from common::Exception
const char * file
 
int line
 
backward::StackTrace stackTrace
 

Static Protected Member Functions

static std::string formatErrorMessage (std::string_view condition, std::string_view message)
 
- Static Protected Member Functions inherited from common::Exception
static std::string formatErrorMessage (std::string_view message, const char *file, int line)
 

Constructor & Destructor Documentation

common::AssertionFailure::AssertionFailure ( std::string_view  condition,
std::string_view  message,
const char *  file,
int  line,
backward::StackTrace const &  st 
)

Member Function Documentation

std::string common::AssertionFailure::formatErrorMessage ( std::string_view  condition,
std::string_view  message 
)
staticprotected

Member Data Documentation

std::string_view common::AssertionFailure::condition

The documentation for this class was generated from the following files: