class NoEncoderError

Defines an error which is thrown when the user attempts to use an algorithm which is not defined.

If the type you want is standard in Ruby, and doesn't have an encoder yet, please create an issue on GitHub.

Public Class Methods

new(type = "~") click to toggle source
Calls superclass method
# File lib/object_hash_rb/error.rb, line 21
def initialize(type = "~")
  super("Attempted to encode unknown class (got #{type})")
end