Function tcod::set_error(const std::string&)

Function Documentation

inline TCOD_Error tcod::set_error(const std::string &msg)

Set an error message and return a relevant error code, usually -1.

Used internally.