PyTorch
|
#include <Exception.h>
Additional Inherited Members | |
Public Member Functions inherited from c10::Error | |
Error (SourceLocation source_location, std::string msg) | |
Error (const char *file, const uint32_t line, const char *condition, const std::string &msg, const std::string &backtrace, const void *caller=nullptr) | |
Error (std::string msg, std::string backtrace, const void *caller=nullptr) | |
void | add_context (std::string msg) |
const std::string & | msg () const |
const std::vector< std::string > & | context () const |
const std::string & | backtrace () const |
const char * | what () const noexcept override |
Returns the complete error message, including the source location. More... | |
const void * | caller () const noexcept |
const char * | what_without_backtrace () const noexcept |
Returns only the error message string, without source location. More... | |