Module: Kiba::Extend::ErrMod
- Included in:
- BooleanReturningLambdaError, Error, InvalidActionError, IterativeCleanupSettingUndefinedError, JobCannotBeUsedAsLookupError, NoLookupOnError, NonSymbolLookupOnError, PathRequiredError, ProjectSettingUndefinedError, Registry::CannotBeUsedAsSourceError, Registry::FileRegistry::KeyNotRegisteredError, Registry::RegisteredDestination::SuppliedEntryError
- Defined in:
- lib/kiba/extend/error.rb
Instance Method Summary collapse
Instance Method Details
#calling_job ⇒ Object
6 7 8 |
# File 'lib/kiba/extend/error.rb', line 6 def calling_job pre_base_job_initialize.reject { |loc| loc.path["kiba-extend"] }.first end |
#info ⇒ Object
10 11 12 13 14 |
# File 'lib/kiba/extend/error.rb', line 10 def info puts "#{self.class.name}: #{}" puts "AT:" puts backtrace.first(10) end |