Method: Protein::CallError#initialize
- Defined in:
- lib/protein/errors.rb
#initialize(errors) ⇒ CallError
Returns a new instance of CallError.
3 4 5 6 7 8 9 |
# File 'lib/protein/errors.rb', line 3 def initialize(errors) super( errors.map do |error| error.reason.inspect + (error.pointer ? " (at #{error.pointer})" : "") end.join(", ") ) end |