Exception: PointmdComments::Errors::UnknownSource

Inherits:
StandardError
  • Object
show all
Defined in:
lib/pointmd_comments/errors/unknown_source.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeUnknownSource

Returns a new instance of UnknownSource.



6
7
8
9
10
# File 'lib/pointmd_comments/errors/unknown_source.rb', line 6

def initialize
  super

  @message = "Unknown source specified. Allowed sources are: #{Aggregators::Posts::ALLOWED_SOURCES}"
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



4
5
6
# File 'lib/pointmd_comments/errors/unknown_source.rb', line 4

def message
  @message
end