MillicastSDK 2.0.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
millicast::AsyncOperationCancelled Class Referencefinal

Error category for errors triggered when the operation failed because it was abandoned for various reasons. More...

#include <error.h>

Inheritance diagram for millicast::AsyncOperationCancelled:
Inheritance graph
[legend]
Collaboration diagram for millicast::AsyncOperationCancelled:
Collaboration graph
[legend]

Public Types

enum  Value {
  MULTIPLE_RESOLVE = 1 , ABORTED , ABANDONED , ACTOR_SHUTDOWN ,
  TIMEOUT
}
 

Public Member Functions

const char * name () const noexcept override
 
std::string message (int ev) const override
 

Additional Inherited Members

- Static Public Member Functions inherited from millicast::ErrorCategoryBase< AsyncOperationCancelled >
static const AsyncOperationCancelledinstance ()
 

Detailed Description

Error category for errors triggered when the operation failed because it was abandoned for various reasons.

Member Enumeration Documentation

◆ Value

Enumerator
MULTIPLE_RESOLVE 

Internal SDK logic error.

ABORTED 

Operation was cancelled because a newer request made it obsolete.

ABANDONED 

Operation was cancelled for unspecified reasons.

ACTOR_SHUTDOWN 

Operation was cancelled because shutdown or disconnection is in progress.

TIMEOUT 

Operation was cancelled due to a timeout.

Member Function Documentation

◆ message()

std::string millicast::AsyncOperationCancelled::message ( int  ev) const
override

◆ name()

const char * millicast::AsyncOperationCancelled::name ( ) const
overridenoexcept

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