lib/vedeu/runtime/main_loop.rb in vedeu-0.6.1 vs lib/vedeu/runtime/main_loop.rb in vedeu-0.6.2
- old
+ new
@@ -22,11 +22,11 @@
while @loop
yield
safe_exit_point!
end
- rescue Vedeu::VedeuInterrupt
+ rescue Vedeu::Error::Interrupt
Vedeu.log(type: :info,
message: 'Vedeu execution interrupted, exiting.')
end
# :nocov:
@@ -38,14 +38,14 @@
end
# :nocov:
# Check the application has started and we wish to continue running.
#
- # @raise [Vedeu::VedeuInterrupt] When we wish to terminate the running
+ # @raise [Vedeu::Error::Interrupt] When we wish to terminate the running
# application.
# @return [void]
def safe_exit_point!
- fail Vedeu::VedeuInterrupt if @started && !@loop
+ fail Vedeu::Error::Interrupt if @started && !@loop
end
# :nocov:
end # Eigenclass