Skip to content

Commit

Permalink
New error code "NoSpaceLeft" (#1514)
Browse files Browse the repository at this point in the history
This error code may be used to signal shortage of available
space on the target device.

Relates-To: OCMAM-3, OAM-2431

Signed-off-by: Andrey Kashcheev <ext-andrey.kashcheev@here.com>
  • Loading branch information
andrey-kashcheev committed May 20, 2024
1 parent 1fd0778 commit d16a78e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions olp-cpp-sdk-core/include/olp/core/client/ErrorCode.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2019-2021 HERE Europe B.V.
* Copyright (C) 2019-2024 HERE Europe B.V.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -90,7 +90,12 @@ enum class ErrorCode {
/**
* A failed cache IO operation.
*/
CacheIO
CacheIO,

/**
* The device is full and cannot store more data.
*/
NoSpaceLeft,
};

} // namespace client
Expand Down

0 comments on commit d16a78e

Please sign in to comment.