|
C++ YT Wrapper
C++ library for working with YT clusters
|
Error that is thrown when operation watched by library fails. More...
#include <errors.h>
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). | |
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.