Exception: Fluent::UnrecoverableError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/fluent/error.rb

Direct Known Subclasses

InvalidLockDirectory, InvalidRootDirectory

Instance Method Summary collapse

Constructor Details

#initialize(error_message = nil) ⇒ UnrecoverableError

Returns a new instance of UnrecoverableError.



19
20
21
# File 'lib/fluent/error.rb', line 19

def initialize(error_message = nil)
  @message = error_message || "an unrecoverable error occurs in Fluentd process"
end

Instance Method Details

#to_sObject



23
24
25
# File 'lib/fluent/error.rb', line 23

def to_s
  @message
end