Exception: Typed::ParseError

Inherits:
DeserializeError show all
Extended by:
T::Sig
Defined in:
lib/typed/parse_error.rb

Instance Method Summary collapse

Methods inherited from DeserializeError

#to_h, #to_json

Methods inherited from SerializationError

#to_h, #to_json

Constructor Details

#initialize(format:) ⇒ ParseError

Returns a new instance of ParseError.



8
9
10
# File 'lib/typed/parse_error.rb', line 8

def initialize(format:)
  super("#{format} could not be parsed. Check for typos.")
end