Skip to content

Commit

Permalink
Add cancellation error code (#99) (#101)
Browse files Browse the repository at this point in the history
Co-authored-by: Iman Tabrizian <[email protected]>
  • Loading branch information
tanmayv25 and Tabrizian authored Oct 4, 2023
1 parent 468eb21 commit cf617c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/triton/common/error.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ class Error {
INVALID_ARG,
UNAVAILABLE,
UNSUPPORTED,
ALREADY_EXISTS
ALREADY_EXISTS,
CANCELLED
};

explicit Error(Code code = Code::SUCCESS) : code_(code) {}
Expand Down

0 comments on commit cf617c9

Please sign in to comment.