class Crowdkit::UserError

Custom error class for errors made with the client itself

Public Instance Methods

generate_message(attributes) click to toggle source
# File lib/crowdkit/error.rb, line 6
def generate_message(attributes)
  "\nProblem:\n #{attributes[:problem]}"+
  "\nSummary:\n #{attributes[:summary]}"+
  "\nResolution:\n #{attributes[:resolution]}"
end