Exception: Crockford32::UnsupportedDecodingTypeError

Inherits:
DecodeError
  • Object
show all
Defined in:
lib/crockford32/errors.rb

Overview

An error representing an unsupported destination type for a decode operation.

Since:

  • 1.0.0

Instance Method Summary collapse

Constructor Details

#initialize(type) ⇒ UnsupportedDecodingTypeError

Returns a new instance of UnsupportedDecodingTypeError.

Parameters:

  • type (Symbol)

    the supplied destination type.

Since:

  • 1.0.0



45
46
47
# File 'lib/crockford32/errors.rb', line 45

def initialize(type)
  super("Decoding as :#{type} not supported")
end