Exception: MicrosoftKiotaAbstractions::ApiError

Inherits:
StandardError
  • Object
show all
Includes:
Parsable
Defined in:
lib/microsoft_kiota_abstractions/api_error.rb

Instance Method Summary collapse

Instance Method Details

#get_field_deserializersObject

The deserialization information for the current model

Returns:

  • a i_dictionary



10
11
12
# File 'lib/microsoft_kiota_abstractions/api_error.rb', line 10

def get_field_deserializers()
    return Hash.new
end

#serialize(writer) ⇒ Object

Serializes information the current object

Parameters:

  • writer

    Serialization writer to use to serialize this model

Returns:

  • a void

Raises:

  • (StandardError)


18
19
20
# File 'lib/microsoft_kiota_abstractions/api_error.rb', line 18

def serialize(writer)
    raise StandardError, 'writer cannot be null' if writer.nil?
end