Exception: Faulty::AlreadyInitializedError

Inherits:
FaultyError
  • Object
show all
Defined in:
lib/faulty/error.rb

Overview

Raised if init is called multiple times

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ AlreadyInitializedError

Returns a new instance of AlreadyInitializedError.


17
18
19
20
# File 'lib/faulty/error.rb', line 17

def initialize(message = nil)
  message ||= 'Faulty is already initialized'
  super(message)
end