summaryrefslogtreecommitdiff
path: root/redfish-core/include/error_messages.hpp
diff options
context:
space:
mode:
authorEd Tanous <ed.tanous@intel.com>2018-05-23 01:27:24 +0300
committerEd Tanous <ed.tanous@intel.com>2018-07-27 01:54:37 +0300
commit55c7b7a2e58779580f33046d2dd8649243776700 (patch)
treeeed2d032dff3e18c4a8d4778e8f52ae5864620ee /redfish-core/include/error_messages.hpp
parent1752c9657b56a6e1950d8725f44f4298c9872c63 (diff)
downloadbmcweb-55c7b7a2e58779580f33046d2dd8649243776700.tar.xz
Move over to upstream c++ style
This patchset moves bmcweb over to the upstream style naming conventions for variables, classes, and functions, as well as imposes the latest clang-format file. This changeset was mostly built automatically by the included .clang-tidy file, which has the ability to autoformat and auto rename variables. At some point in the future I would like to see this in greater use, but for now, we will impose it on bmcweb, and see how it goes. Tested: Code still compiles, and appears to run, although other issues are possible and likely. Change-Id: If422a2e36df924e897736b3feffa89f411d9dac1 Signed-off-by: Ed Tanous <ed.tanous@intel.com>
Diffstat (limited to 'redfish-core/include/error_messages.hpp')
-rw-r--r--redfish-core/include/error_messages.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/redfish-core/include/error_messages.hpp b/redfish-core/include/error_messages.hpp
index 18ef2af882..4865516b7a 100644
--- a/redfish-core/include/error_messages.hpp
+++ b/redfish-core/include/error_messages.hpp
@@ -28,8 +28,8 @@ namespace redfish {
namespace messages {
-constexpr const char* MESSAGE_VERSION_PREFIX = "Base.1.2.0.";
-constexpr const char* MESSAGE_ANNOTATION = "@Message.ExtendedInfo";
+constexpr const char* messageVersionPrefix = "Base.1.2.0.";
+constexpr const char* messageAnnotation = "@Message.ExtendedInfo";
/**
* @brief Adds Message JSON object to error object
@@ -318,7 +318,7 @@ nlohmann::json resourceNotFound(const std::string& arg1,
/**
* @brief Formats CouldNotEstablishConnection message into JSON
- * Message body: "The service failed to establish a connection with the URI
+ * Message body: "The service failed to establish a Connection with the URI
* <arg0>."
*
* @param[in] arg1 Parameter of message that will replace %1 in its body.
@@ -383,7 +383,7 @@ nlohmann::json actionParameterNotSupported(const std::string& arg1,
/**
* @brief Formats SourceDoesNotSupportProtocol message into JSON
- * Message body: "The other end of the connection at <arg0> does not support the
+ * Message body: "The other end of the Connection at <arg0> does not support the
* specified protocol <arg1>."
*
* @param[in] arg1 Parameter of message that will replace %1 in its body.
@@ -403,7 +403,7 @@ nlohmann::json accountRemoved();
/**
* @brief Formats AccessDenied message into JSON
- * Message body: "While attempting to establish a connection to <arg0>, the
+ * Message body: "While attempting to establish a Connection to <arg0>, the
* service denied access."
*
* @param[in] arg1 Parameter of message that will replace %1 in its body.
@@ -524,7 +524,7 @@ nlohmann::json actionNotSupported(const std::string& arg1);
/**
* @brief Formats InvalidIndex message into JSON
- * Message body: "The Index <arg0> is not a valid offset into the array."
+ * Message body: "The index <arg0> is not a valid offset into the array."
*
* @param[in] arg1 Parameter of message that will replace %1 in its body.
*