Exception: Shortly::Errors::ShortlyError

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

Direct Known Subclasses

InvalidURIError, MethodNotAvailableError

Instance Method Summary collapse

Constructor Details

#initialize(msg) ⇒ ShortlyError

Returns a new instance of ShortlyError.



28
29
30
# File 'lib/shortly/errors.rb', line 28

def initialize(msg)
  super("ShortlyError - #{msg}")
end