Skip to content

Commit a6d7e3b

Browse files
committed
Renamed changed error codes in source files
1 parent fa21ab9 commit a6d7e3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tensorflow_lite_support/c/common_utils.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ void CreateTfLiteSupportErrorWithStatus(const absl::Status& status,
6363
error_code <= static_cast<int>(kErrorCodeFirst)) {
6464
switch (status.code()) {
6565
case absl::StatusCode::kInternal:
66-
error_code = kInternal;
66+
error_code = kInternalError;
6767
break;
6868
case absl::StatusCode::kInvalidArgument:
6969
error_code = kInvalidArgumentError;
7070
break;
7171
case absl::StatusCode::kNotFound:
72-
error_code = kNotFound;
72+
error_code = kNotFoundError;
7373
break;
7474
default:
7575
error_code = kError;

0 commit comments

Comments
 (0)