From d16a78ea64d78b1418d51c9204cce46fa73bad29 Mon Sep 17 00:00:00 2001 From: andrey-kashcheev Date: Mon, 20 May 2024 16:04:42 +0200 Subject: [PATCH] New error code "NoSpaceLeft" (#1514) 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 --- olp-cpp-sdk-core/include/olp/core/client/ErrorCode.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/olp-cpp-sdk-core/include/olp/core/client/ErrorCode.h b/olp-cpp-sdk-core/include/olp/core/client/ErrorCode.h index 72437a043..33563b8d4 100644 --- a/olp-cpp-sdk-core/include/olp/core/client/ErrorCode.h +++ b/olp-cpp-sdk-core/include/olp/core/client/ErrorCode.h @@ -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. @@ -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