Exception: Crockford32::UnsupportedEncodingTypeError

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

Overview

An error representing an attmept to encode an unsupported type.

Since:

  • 1.0.0

Instance Method Summary collapse

Constructor Details

#initialize(type) ⇒ UnsupportedEncodingTypeError

Returns a new instance of UnsupportedEncodingTypeError.

Parameters:

  • type (Type)

    the unsupported type of the encode attempt.

Since:

  • 1.0.0



27
28
29
# File 'lib/crockford32/errors.rb', line 27

def initialize(type)
  super("Encoding #{type} not supported")
end