Exception: Rambling::Trie::InvalidOperation

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/rambling/trie/invalid_operation.rb

Overview

Raised when trying to execute an invalid operation on a trie data structure.

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ InvalidOperation

Creates a new InvalidOperation exception.

Parameters:

  • message (String, nil) (defaults to: nil)

    the exception message.



10
11
12
# File 'lib/rambling/trie/invalid_operation.rb', line 10

def initialize message = nil
  super
end