Exception: Pekky::PekkyError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/pekky.rb

Overview

A base class for all the errors in Pekky. We’re using custom errors so that we can filter out errors concerning configuration in one place, while still letting other errors filter through like normal. In other words, using a rescue block won’t be an impediment to development.

Instance Attribute Summary collapse

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



37
38
39
# File 'lib/pekky.rb', line 37

def message
  @message
end

#titleObject (readonly)

Returns the value of attribute title.



37
38
39
# File 'lib/pekky.rb', line 37

def title
  @title
end