lib/aws-sdk-costoptimizationhub/errors.rb in aws-sdk-costoptimizationhub-1.6.0 vs lib/aws-sdk-costoptimizationhub/errors.rb in aws-sdk-costoptimizationhub-1.7.0
- old
+ new
@@ -112,21 +112,21 @@
def initialize(context, message, data = Aws::EmptyStructure.new)
super(context, message, data)
end
# @return [String]
- def fields
- @data[:fields]
- end
-
- # @return [String]
def message
@message || @data[:message]
end
# @return [String]
def reason
@data[:reason]
+ end
+
+ # @return [String]
+ def fields
+ @data[:fields]
end
end
end
end