Exception: OpenApiSDK::Models::Errors::InternalServerError
- Inherits:
-
StandardError
- Object
- StandardError
- OpenApiSDK::Models::Errors::InternalServerError
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/open_api_sdk/models/errors/internalservererror.rb
Overview
The server has encountered a situation it does not know how to handle.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(error:) ⇒ InternalServerError
constructor
A new instance of InternalServerError.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(error:) ⇒ InternalServerError
Returns a new instance of InternalServerError.
19 20 21 |
# File 'lib/open_api_sdk/models/errors/internalservererror.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/internalservererror.rb', line 24 def ==(other) return false unless other.is_a? self.class return false unless @error == other.error true end |