Exception: LeafNotFoundError
- Inherits:
-
StandardError
- Object
- StandardError
- LeafNotFoundError
- Defined in:
- lib/hashtastic/merkle_tree/leaf_not_found_error.rb
Instance Method Summary collapse
-
#initialize(leaf) ⇒ LeafNotFoundError
constructor
A new instance of LeafNotFoundError.
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 |