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
042548ff
Commit
042548ff
authored
Jun 14, 2018
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add type_mismatch error code
parent
c8c27d13
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
libcaf_core/caf/detail/parser/ec.hpp
libcaf_core/caf/detail/parser/ec.hpp
+2
-0
libcaf_core/src/ec.cpp
libcaf_core/src/ec.cpp
+1
-0
No files found.
libcaf_core/caf/detail/parser/ec.hpp
View file @
042548ff
...
...
@@ -53,6 +53,8 @@ enum class ec : uint8_t {
exponent_underflow
,
/// Exponent of parsed double is greater than the maximum supported exponent.
exponent_overflow
,
/// Parsed type does not match the expected type.
type_mismatch
,
};
error
make_error
(
ec
code
);
...
...
libcaf_core/src/ec.cpp
View file @
042548ff
...
...
@@ -36,6 +36,7 @@ constexpr const char* tbl[] = {
"integer_underflow"
,
"exponent_underflow"
,
"exponent_overflow"
,
"type_mismatch"
,
};
}
// namespace <anonymous>
...
...
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