Exception: Blumquist::Errors::NoCompatibleOneOf
- Inherits:
-
Blumquist::Error
- Object
- RuntimeError
- Blumquist::Error
- Blumquist::Errors::NoCompatibleOneOf
- Defined in:
- lib/blumquist/errors/no_compatible_one_of.rb
Instance Method Summary collapse
-
#initialize(options) ⇒ NoCompatibleOneOf
constructor
A new instance of NoCompatibleOneOf.
Constructor Details
#initialize(options) ⇒ NoCompatibleOneOf
Returns a new instance of NoCompatibleOneOf.
4 5 6 7 8 |
# File 'lib/blumquist/errors/no_compatible_one_of.rb', line 4 def initialize() data = [:data] one_ofs = [:one_ofs] super("Could not find a matching schema for #{data.to_json} in the oneOfs: #{one_ofs.to_json}") end |