Skip to content

Commit cf617c9

Browse files
tanmayv25Tabrizian
andauthored
Add cancellation error code (#99) (#101)
Co-authored-by: Iman Tabrizian <[email protected]>
1 parent 468eb21 commit cf617c9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/triton/common/error.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ class Error {
4444
INVALID_ARG,
4545
UNAVAILABLE,
4646
UNSUPPORTED,
47-
ALREADY_EXISTS
47+
ALREADY_EXISTS,
48+
CANCELLED
4849
};
4950

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

0 commit comments

Comments
 (0)