Exception: Faulty::UninitializedError

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

Overview

Raised if using the global Faulty object without initializing it

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ UninitializedError

Returns a new instance of UninitializedError.



9
10
11
12
# File 'lib/faulty/error.rb', line 9

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