Skip to content

Commit bb0beb6

Browse files
authored
Define constructor for new exception
Fixes mfontanini#193
1 parent bbc3af6 commit bb0beb6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/exceptions.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,4 +119,11 @@ Error QueueException::get_error() const {
119119
return error_;
120120
}
121121

122+
// ActionTerminatedException
123+
124+
ActionTerminatedException::ActionTerminatedException(const string& error)
125+
: Exception(error) {
126+
127+
}
128+
122129
} // cppkafka

0 commit comments

Comments
 (0)