Exception: Multibases::AlphabetOutOfRange

Inherits:
Error
  • Object
show all
Defined in:
lib/multibases/error.rb

Instance Method Summary collapse

Constructor Details

#initialize(ord) ⇒ AlphabetOutOfRange

Returns a new instance of AlphabetOutOfRange.



15
16
17
18
19
20
# File 'lib/multibases/error.rb', line 15

def initialize(ord)
  super(
    'The multibase spec currently only allows for alphabet characters in ' \
    "the 0-255 range. '#{ord}' is outside that range."
  )
end