Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
7ad30c1c
Commit
7ad30c1c
authored
Sep 24, 2020
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new error code: sec::connection_closed
parent
73110541
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
0 deletions
+8
-0
CHANGELOG.md
CHANGELOG.md
+4
-0
libcaf_core/caf/sec.hpp
libcaf_core/caf/sec.hpp
+2
-0
libcaf_core/src/sec_strings.cpp
libcaf_core/src/sec_strings.cpp
+2
-0
No files found.
CHANGELOG.md
View file @
7ad30c1c
...
@@ -5,6 +5,10 @@ is based on [Keep a Changelog](https://keepachangelog.com).
...
@@ -5,6 +5,10 @@ is based on [Keep a Changelog](https://keepachangelog.com).
## [Unreleased]
## [Unreleased]
### Added
-
The enum
`caf::sec`
received an additional error code:
`connection_closed`
.
### Changed
### Changed
-
When using
`CAF_MAIN`
, CAF now looks for the correct default config file name,
-
When using
`CAF_MAIN`
, CAF now looks for the correct default config file name,
...
...
libcaf_core/caf/sec.hpp
View file @
7ad30c1c
...
@@ -160,6 +160,8 @@ enum class sec : uint8_t {
...
@@ -160,6 +160,8 @@ enum class sec : uint8_t {
load_callback_failed
=
60
,
load_callback_failed
=
60
,
/// Converting between two types failed.
/// Converting between two types failed.
conversion_failed
,
conversion_failed
,
/// A network connection was closed by the remote side.
connection_closed
,
};
};
/// @relates sec
/// @relates sec
...
...
libcaf_core/src/sec_strings.cpp
View file @
7ad30c1c
...
@@ -139,6 +139,8 @@ std::string to_string(sec x) {
...
@@ -139,6 +139,8 @@ std::string to_string(sec x) {
return
"load_callback_failed"
;
return
"load_callback_failed"
;
case
sec
:
:
conversion_failed
:
case
sec
:
:
conversion_failed
:
return
"conversion_failed"
;
return
"conversion_failed"
;
case
sec
:
:
connection_closed
:
return
"connection_closed"
;
};
};
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment