Exception: Exception

Defined in:
lib/nestene/execution_error.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.from_structure(structure) ⇒ Object



35
36
37
# File 'lib/nestene/execution_error.rb', line 35

def self.from_structure structure
  structure ? Nestene::ExecutionError.from_structure(structure).to_exception : nil
end

Instance Method Details

#to_structureObject



31
32
33
# File 'lib/nestene/execution_error.rb', line 31

def to_structure
  Nestene::ExecutionError.new(self).to_structure
end