Exception: Pandoru::PandoruError

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

Overview

Base exception for all Pandoru errors

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ PandoruError

Returns a new instance of PandoruError.



6
7
8
# File 'lib/pandoru/errors.rb', line 6

def initialize(message = nil)
  super(message || self.class.name.split('::').last)
end