class Protein::CallError

Public Class Methods

new(errors) click to toggle source
Calls superclass method
# 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