userver: engine::TaskCancelledException Class Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
engine::TaskCancelledException Class Reference

#include <userver/engine/exception.hpp>

Detailed Description

Thrown if a TaskWithResult, for which we were waiting, got cancelled.

Definition at line 27 of file exception.hpp.

+ Inheritance diagram for engine::TaskCancelledException:
+ Collaboration diagram for engine::TaskCancelledException:

Public Member Functions

 TaskCancelledException (TaskCancellationReason reason)
 
TaskCancellationReason Reason () const noexcept
 

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