Skip to content

Commit

Permalink
Add cancellation error code (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tabrizian authored Sep 8, 2023
1 parent a2de06f commit 3284c88
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 3284c88

Please sign in to comment.