Commit 7ad30c1c authored by Dominik Charousset's avatar Dominik Charousset

Add new error code: sec::connection_closed

parent 73110541
......@@ -5,6 +5,10 @@ is based on [Keep a Changelog](https://keepachangelog.com).
## [Unreleased]
### Added
- The enum `caf::sec` received an additional error code: `connection_closed`.
### Changed
- When using `CAF_MAIN`, CAF now looks for the correct default config file name,
......
......@@ -160,6 +160,8 @@ enum class sec : uint8_t {
load_callback_failed = 60,
/// Converting between two types failed.
conversion_failed,
/// A network connection was closed by the remote side.
connection_closed,
};
/// @relates sec
......
......@@ -139,6 +139,8 @@ std::string to_string(sec x) {
return "load_callback_failed";
case sec::conversion_failed:
return "conversion_failed";
case sec::connection_closed:
return "connection_closed";
};
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment