Exception: Mistri::CompactionError

Inherits:
Error
  • Object
show all
Defined in:
lib/mistri/errors.rb

Overview

Compaction could not produce a usable summary. Usage preserves any billed provider attempt even though no checkpoint was written.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, usage: nil) ⇒ CompactionError

Returns a new instance of CompactionError.



142
143
144
145
# File 'lib/mistri/errors.rb', line 142

def initialize(message = nil, usage: nil)
  @usage = usage
  super(message)
end

Instance Attribute Details

#usageObject (readonly)

Returns the value of attribute usage.



140
141
142
# File 'lib/mistri/errors.rb', line 140

def usage
  @usage
end