Exception: PointmdComments::Errors::UnknownSource
- Inherits:
-
StandardError
- Object
- StandardError
- PointmdComments::Errors::UnknownSource
- Defined in:
- lib/pointmd_comments/errors/unknown_source.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize ⇒ UnknownSource
constructor
A new instance of UnknownSource.
Constructor Details
#initialize ⇒ UnknownSource
Returns a new instance of UnknownSource.
6 7 8 9 10 |
# File 'lib/pointmd_comments/errors/unknown_source.rb', line 6 def initialize super = "Unknown source specified. Allowed sources are: #{Aggregators::Posts::ALLOWED_SOURCES}" end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
4 5 6 |
# File 'lib/pointmd_comments/errors/unknown_source.rb', line 4 def end |