class Swgr2rb::Swgr2rbError
Swgr2rbError
is a custom error that is raised when an error occurs that requires a change in user input. It is intercepted in bin/swgr2rb so that its backtrace is not returned to the user.
Public Class Methods
new(msg = nil)
click to toggle source
Calls superclass method
# File lib/prototypes/swgr2rb_error.rb, line 9 def initialize(msg = nil) super("#{msg}\nTry 'swgr2rb --help' for more information") end