Exception: Pione::Log::UnknownProcessRecordType

Inherits:
StandardError
  • Object
show all
Defined in:
lib/pione/log/process-record.rb

Overview

UnknownProcessRecordType is raised when we find unknown process record types.

Instance Method Summary collapse

Constructor Details

#initialize(type) ⇒ UnknownProcessRecordType

Returns a new instance of UnknownProcessRecordType.

Parameters:

  • type (Symbol)

    type name



8
9
10
# File 'lib/pione/log/process-record.rb', line 8

def initialize(type)
  @type = type
end

Instance Method Details

#messageObject



12
13
14
# File 'lib/pione/log/process-record.rb', line 12

def message
  'Unknown process type "%s"' % @type
end