class RuneterraCards::Base32Error
This exception is raised if the deck code cannot be Base32-decoded. This probably means it isn't a deck code, or got malformed somehow.
Public Class Methods
new()
click to toggle source
Returns a new instance of Base32Error
with a helpful error message preloaded.
Calls superclass method
# File lib/runeterra_cards/errors.rb, line 12 def initialize super( 'Encountered an error while Base32 decoding deck code.' \ ' Probably an invalid deck code, or possibly a bug in the Base32 handling.') end