diff options
author | Max Yakimakha <yakimakha@chromium.org> | 2019-08-16 12:24:00 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-08-16 19:30:32 +0000 |
commit | ef6736bfe66abebaa71a591da48b32c883443e12 (patch) | |
tree | 1dcc4de83fa1f08aed6737fd8595a4a3ecf02d85 /osp/impl/presentation | |
parent | fe159769aa8646b191042d89ee739de5de5c4c7a (diff) | |
download | openscreen-ef6736bfe66abebaa71a591da48b32c883443e12.tar.gz |
Add new generic Error::Code values
Change-Id: Idadd29740ceadcbe7eefd2dcaba351f61181cb32
Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/1757212
Commit-Queue: Max Yakimakha <yakimakha@chromium.org>
Reviewed-by: mark a. foltz <mfoltz@chromium.org>
Diffstat (limited to 'osp/impl/presentation')
-rw-r--r-- | osp/impl/presentation/presentation_connection.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/osp/impl/presentation/presentation_connection.cc b/osp/impl/presentation/presentation_connection.cc index 6bb789a2..cee8a60e 100644 --- a/osp/impl/presentation/presentation_connection.cc +++ b/osp/impl/presentation/presentation_connection.cc @@ -199,7 +199,7 @@ ErrorOr<size_t> ConnectionManager::OnStreamMessage( Connection* connection = GetConnection(message.connection_id); if (!connection) { - return Error::Code::kNoItemFound; + return Error::Code::kItemNotFound; } switch (message.message.which) { |