Sha256: 6faeec07f4859a9fee7eeca012e7cc7cac0ca381d79c0126f1b4b5c7e54b6502
Contents?: true
Size: 640 Bytes
Versions: 1
Compression:
Stored size: 640 Bytes
Contents
module Cfer::Util require 'highline/import' class CferError < StandardError 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cfer-0.3.0 | lib/cfer/util/error.rb |