Exception: EPUB::OCF::PhysicalContainer::NoEntry

Inherits:
StandardError
  • Object
show all
Defined in:
lib/epub/ocf/physical_container.rb

Class Method Summary collapse

Class Method Details

.from_error(error) ⇒ Object



11
12
13
14
15
# File 'lib/epub/ocf/physical_container.rb', line 11

def from_error(error)
  no_entry = new(error.message)
  no_entry.set_backtrace error.backtrace
  no_entry
end