module Canoe::Err
Public Instance Methods
abort_on_err(err)
click to toggle source
# File lib/util.rb, line 85 def abort_on_err(err) abort <<~ERR #{'Fatal: '.red} #{err} try 'canoe help' for more information ERR end
warn_on_err(err)
click to toggle source
# File lib/util.rb, line 77 def warn_on_err(err) puts <<~ERR #{'Waring: '.yellow} #{err} try 'canoe help' for more information ERR end