Exception: Simplenet::Exception::DuplicatedEntryError

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

Instance Method Summary collapse

Constructor Details

#initialize(msg) ⇒ DuplicatedEntryError

Returns a new instance of DuplicatedEntryError.



19
20
21
22
# File 'lib/simplenet/exception.rb', line 19

def initialize(msg)
  msg ||= "Entity already exists on simplenet"
  super msg
end