Exception: InvalidHexFormat

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

Instance Method Summary collapse

Constructor Details

#initialize(leaf) ⇒ InvalidHexFormat

Returns a new instance of InvalidHexFormat.



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

def initialize(leaf)
  super("invalid hex format, prefix '0x' is required or input is not a hex value: #{leaf}")
end