Exception: Typed::DeserializeError
- Inherits:
-
SerializationError
- Object
- StandardError
- SerializationError
- Typed::DeserializeError
- Extended by:
- T::Sig
- Defined in:
- lib/typed/deserialize_error.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#to_h ⇒ Object
8 9 10 |
# File 'lib/typed/deserialize_error.rb', line 8 def to_h {error: } end |
#to_json(_options = {}) ⇒ Object
13 14 15 |
# File 'lib/typed/deserialize_error.rb', line 13 def to_json( = {}) JSON.generate(to_h) end |