Exception: Crowdkit::UserError
- Defined in:
- lib/crowdkit/error.rb
Overview
Custom error class for errors made with the client itself
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#generate_message(attributes) ⇒ Object
6 7 8 9 10 |
# File 'lib/crowdkit/error.rb', line 6 def (attributes) "\nProblem:\n #{attributes[:problem]}"+ "\nSummary:\n #{attributes[:summary]}"+ "\nResolution:\n #{attributes[:resolution]}" end |