module Bones::RPC::Failover::Ignore
Ignore
is for the case when we get exceptions we deem are proper user or datbase errors and should be re-raised.
@since 0.0.1
Public Instance Methods
execute(exception, node)
click to toggle source
Executes the failover strategy. In the case of ignore, we just re-raise the exception that was thrown previously.
@example Execute the ignore strategy.
Bones::RPC::Failover::Ignore.execute(exception, node)
@param [ Exception ] exception The raised exception. @param [ Node
] node The node the exception got raised on.
@raise [ Exception ] The exception that was previously thrown.
@since 0.0.1
# File lib/bones/rpc/failover/ignore.rb, line 25 def execute(exception, node) raise(exception) end