Sha256: 8fefa741e20390c2ad8d81b7b0e2a22d701fe4b2f5cbb8aac135431d35151077
Contents?: true
Size: 590 Bytes
Versions: 3
Compression:
Stored size: 590 Bytes
Contents
module Cfer::Util require 'highline/import' class CferError < StandardError end class StackExistsError < CferError end class TemplateError < CferError attr_reader :template_backtrace def initialize(template_backtrace) @template_backtrace = template_backtrace super end end def self.bug_report(e) gather_report e transmit_report if agree('Would you like to send this information in a bug report? (type yes/no)') end private def self.gather_report(e) puts e end def self.transmit_report puts "Sending report." end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cfer-0.2.0 | lib/cfer/util/error.rb |
cfer-0.1.3 | lib/cfer/util/error.rb |
cfer-0.1.1 | lib/cfer/util/error.rb |