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