Cpp-Taskflow  2.0.0
tf::Error Struct Reference

The error category of taskflow. More...

#include <error.hpp>

Inheritance diagram for tf::Error:
Collaboration diagram for tf::Error:

Public Types

enum  Code : int { SUCCESS = 0, FLOW_BUILDER, EXECUTOR }
 Error code definition.
 

Public Member Functions

const char * name () const noexcept override final
 returns the name of the taskflow error category
 
std::string message (int) const override final
 query the human-readable string of each error code
 

Static Public Member Functions

static const std::error_categoryget ()
 acquires the singleton instance of the taskflow error category
 

Detailed Description

The error category of taskflow.


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