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



576
577
578
579
580
581
582
583
584
585
# File 'lib/rd2odt.rb', line 576

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