class Thor::Shell::Basic
def error(statement)
will be rescued and wrapped in the method below.
wrong, you can always raise an exception. If you raise a Thor::Error, it
internally and should not be used inside your scripts. If someone went
Called if something goes wrong during the execution. This is used by Thor
def error(statement) $stderr.puts statement end