Skip to content

Commit

Permalink
fix swift lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dayaffe committed Nov 5, 2024
1 parent 1078672 commit 1246e4e
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@ public struct AWSJSONError: BaseError {

extension AWSJSONError {
public func makeAWSJsonErrorQueryCompatible(errorDetails: String?) throws -> AWSJSONError {
var error = try AWSJSONError(httpResponse: self.httpResponse, responseReader: self.responseReader, noErrorWrapping: false)
var error = try AWSJSONError(
httpResponse: self.httpResponse,
responseReader: self.responseReader,
noErrorWrapping: false // unused
)
error.code = try AwsQueryCompatibleErrorDetails.parse(errorDetails).code
return error
}
Expand Down

0 comments on commit 1246e4e

Please sign in to comment.