async_operation_canceled

Module: Exceptions

The base class that describes exceptions that are thrown when an asynchronous operation is abruptly canceled.

#include <exception.h>

Inherits from dolbyio::comms::exception, exception

Public Functions

Name
async_operation_canceled(const std::string & reason)
The constructor that takes a reason for failure.

Additional inherited members

Public Functions inherited from dolbyio::comms::exception

Name
~exception() =default
const char *what() const override
Overrides to std::exception that returns a description of the exception.
exception(const std::string & description)
The constructor that takes the description of the exception.

Protected Attributes inherited from dolbyio::comms::exception

Name
std::stringfulldescription
class dolbyio::comms::async_operation_canceled;

Public Functions Documentation

function async_operation_canceled

inline async_operation_canceled(
    const std::string & reason
)

The constructor that takes a reason for failure.

Parameters:

  • reason A string that indicates a reason for failure.


Did this page help you?