class Azure::Consumption::Mgmt::V2018_03_31::Models::ErrorResponse
Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message.
Attributes
error[RW]
@return [ErrorDetails] The details of the error.
Public Class Methods
mapper()
click to toggle source
Mapper for ErrorResponse
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-03-31/generated/azure_mgmt_consumption/models/error_response.rb, line 24 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ErrorResponse', type: { name: 'Composite', class_name: 'ErrorResponse', model_properties: { error: { client_side_validation: true, required: false, serialized_name: 'error', type: { name: 'Composite', class_name: 'ErrorDetails' } } } } } end