Exception: Disloku::DislokuError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/disloku/DislokuError.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil, recoverable = false) ⇒ DislokuError

Returns a new instance of DislokuError.



5
6
7
8
# File 'lib/disloku/DislokuError.rb', line 5

def initialize(msg = nil, recoverable = false)
	super(msg)
	@recoverable = recoverable
end

Instance Method Details

#recoverable?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/disloku/DislokuError.rb', line 10

def recoverable?()
	return @recoverable
end