Exception: Typed::ParseError
- Inherits:
-
DeserializeError
- Object
- StandardError
- SerializationError
- DeserializeError
- Typed::ParseError
- Extended by:
- T::Sig
- Defined in:
- lib/typed/parse_error.rb
Instance Method Summary collapse
-
#initialize(format:) ⇒ ParseError
constructor
A new instance of ParseError.
Methods inherited from DeserializeError
Methods inherited from SerializationError
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 |