C++ YT Wrapper
C++ library for working with YT clusters
Loading...
Searching...
No Matches
NYT::TOperationFailedError Class Reference

Error that is thrown when operation watched by library fails. More...

#include <errors.h>

Inheritance diagram for NYT::TOperationFailedError:

Public Types

enum  EState { Failed , Aborted }
 Final state of operation. More...

Public Member Functions

 TOperationFailedError (EState state, TOperationId id, TYtError ytError, TVector< TFailedJobInfo > failedJobInfo)
EState GetState () const
 Get final state of operation.
TOperationId GetOperationId () const
 Get operation id.
const TYtError & GetError () const
 Return operation error.
const TVector< TFailedJobInfo > & GetFailedJobInfo () const
 Return info about failed jobs (if any).

Detailed Description

Error that is thrown when operation watched by library fails.

This error is thrown from operation starting methods when they are started in sync mode (@ refNYT::TOperationOptions::Wait == true) or from future returned by NYT::IOperation::Watch.

See also
NYT::IOperationClient

Member Enumeration Documentation

◆ EState

Final state of operation.

Enumerator
Failed 

Operation was failed due to some error.

Aborted 

Operation didn't experienced errors, but was aborted by user request or by YT.


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