Exception: LeafNotFoundError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/hashtastic/merkle_tree/leaf_not_found_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(leaf) ⇒ LeafNotFoundError

Returns a new instance of LeafNotFoundError.



4
5
6
# File 'lib/hashtastic/merkle_tree/leaf_not_found_error.rb', line 4

def initialize(leaf)
  super("leaf does not exist in merkle-tree: #{leaf}")
end