Sha256: 89124d75015560771171b1ccdc9f369bb94a514eca5c71eea478ec4851bc84e0
Contents?: true
Size: 789 Bytes
Versions: 4
Compression:
Stored size: 789 Bytes
Contents
module Cfer::Util require 'highline/import' class CferError < StandardError end class CferValidationError < CferError attr_reader :errors def initialize(errors) @errors = errors super(errors) end end class StackExistsError < CferError end class StackDoesNotExistError < 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
cfer-0.5.0.pre.rc1 | lib/cfer/util/error.rb |
cfer-0.4.2 | lib/cfer/util/error.rb |
cfer-0.4.1 | lib/cfer/util/error.rb |
cfer-0.4.0 | lib/cfer/util/error.rb |