Exception: RadixEncoding::Encoding::DataTypeNotSupportedError
- Inherits:
-
StandardError
- Object
- StandardError
- RadixEncoding::Encoding::DataTypeNotSupportedError
- Defined in:
- lib/radix_encoding/encoding/errors.rb
Instance Method Summary collapse
-
#initialize(data_type:) ⇒ DataTypeNotSupportedError
constructor
A new instance of DataTypeNotSupportedError.
Constructor Details
#initialize(data_type:) ⇒ DataTypeNotSupportedError
Returns a new instance of DataTypeNotSupportedError.
15 16 17 18 19 20 |
# File 'lib/radix_encoding/encoding/errors.rb', line 15 def initialize(data_type:) super <<~MESSAGE The provided data is of a not supported type #{data_type}. Only String is supported. MESSAGE end |