Skip to content
Snippets Groups Projects
Verified Commit 537a16c1 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

EHN: add INTEGRITY_VIOLATION as MessageCode

parent acebed80
No related branches found
No related tags found
No related merge requests found
Pipeline #15801 passed with warnings
Pipeline: caosdb-cppinttest

#15804

    ......@@ -100,6 +100,7 @@ enum MessageCode {
    _MAP_MESSAGE_CODE(PROPERTY_WITH_DESCRIPTION_OVERRIDE),
    _MAP_MESSAGE_CODE(PROPERTY_WITH_NAME_OVERRIDE),
    _MAP_MESSAGE_CODE(INTEGER_VALUE_OUT_OF_RANGE),
    _MAP_MESSAGE_CODE(INTEGRITY_VIOLOATION),
    };
    [[nodiscard]] inline auto get_message_code(int code) noexcept -> MessageCode {
    ......@@ -163,6 +164,7 @@ enum MessageCode {
    MessageCode::PROPERTY_WITH_DESCRIPTION_OVERRIDE,
    MessageCode::PROPERTY_WITH_NAME_OVERRIDE,
    MessageCode::INTEGER_VALUE_OUT_OF_RANGE,
    MessageCode::INTEGRITY_VIOLOATION,
    };
    for (MessageCode known_code : all_codes) {
    ......
    Subproject commit 063b09421ad064e13fa858076fcb4de616cfe6cb
    Subproject commit c01fd9ff1471adafa707fdb36bdaa49749079fa6
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment