Exception: Autobuild::PackageException

Inherits:
PhaseException show all
Defined in:
lib/autobuild/exceptions.rb

Overview

An error occured in a package

Direct Known Subclasses

ImporterCannotReset

Instance Attribute Summary

Attributes inherited from PhaseException

#phase, #target

Instance Method Summary collapse

Methods inherited from PhaseException

#exception_message, #fatal?, #retry?, #to_s

Constructor Details

#initialize(target = nil, phase = nil, options = Hash.new) ⇒ PackageException

Returns a new instance of PackageException.



68
69
70
71
72
# File 'lib/autobuild/exceptions.rb', line 68

def initialize(target = nil, phase = nil, options = Hash.new)
    options, other_options = Kernel.filter_options options,
                                                   retry: false
    super(target, phase, options.merge(other_options))
end

Instance Method Details

#mail?Boolean

Returns:

  • (Boolean)


64
65
66
# File 'lib/autobuild/exceptions.rb', line 64

def mail?
    true
end