Module | Moped::Failover::Ignore |
In: |
lib/moped/failover/ignore.rb
|
Ignore is for the case when we get exceptions we deem are proper user or datbase errors and should be re-raised.
@since 2.0.0
Executes the failover strategy. In the case of ignore, we just re-raise the exception that was thrown previously.
@example Execute the ignore strategy.
Moped::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 2.0.0