Exception: RD2ODT::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rd2odt.rb

Direct Known Subclasses

ProgramOptionError

Instance Method Summary collapse

Instance Method Details

#processObject



565
566
567
568
569
570
571
572
573
574
# File 'lib/rd2odt.rb', line 565

def process
  if RD2ODT.options[:backtrace]
    STDERR.puts("backtrace:")
    STDERR.puts(backtrace.map { |l|
                  "  " + l
                })
  end
  STDERR.puts(message)
  exit(1)
end