Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add awsQueryCompatible error code translation support #4597

Merged
merged 14 commits into from
Dec 28, 2022
Prev Previous commit
Next Next commit
Fix indentation
  • Loading branch information
eddy-aws committed Oct 24, 2022
commit d79ea2aa70ebb0eabf89fd8b46be11c9aaa2136d
6 changes: 3 additions & 3 deletions private/protocol/jsonrpc/unmarshal_error.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ func (u *UnmarshalTypedError) UnmarshalError(
awserr.New(queryCodeParts[0], msg, nil),
respMeta.StatusCode,
respMeta.RequestID,
), nil
), nil
}
}
}
}
}

if fn, ok := u.exceptions[code]; ok {
// If exception code is know, use associated constructor to get a value
Expand Down