Created
December 21, 2018 23:55
-
-
Save sbellware/fa5d87d2cd05a878c3afc663a3743f58 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Consumer | |
include Consumer::Postgres | |
handler SomeHandler | |
handler SomeOtherHandler | |
def error_raised(error, message_data) | |
if error.instance_of?(MessageStore::ExpectedVersion::Error) | |
self.(message_data) | |
else | |
raise error | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment