Exception: OpenApiSDK::Models::Errors::UnprocessableEntity

Inherits:
StandardError
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/open_api_sdk/models/errors/unprocessableentity.rb

Overview

The request was well-formed but was unable to be followed due to semantic errors.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(error:) ⇒ UnprocessableEntity

Returns a new instance of UnprocessableEntity.



19
20
21
# File 'lib/open_api_sdk/models/errors/unprocessableentity.rb', line 19

def initialize(error:)
  @error = error
end

Instance Method Details

#==(other) ⇒ Object



24
25
26
27
28
# File 'lib/open_api_sdk/models/errors/unprocessableentity.rb', line 24

def ==(other)
  return false unless other.is_a? self.class
  return false unless @error == other.error
  true
end