feat(router): add retrieve poll status api (#4358)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Sai Harsha Vardhan
2024-04-17 15:50:53 +05:30
committed by GitHub
parent 5a0a8cee76
commit ca47ea9b13
21 changed files with 254 additions and 6 deletions

View File

@ -599,6 +599,10 @@ impl From<errors::ApiErrorResponse> for StripeErrorCode {
object: "business_profile".to_owned(),
id,
},
errors::ApiErrorResponse::PollNotFound { id } => Self::ResourceMissing {
object: "poll".to_owned(),
id,
},
errors::ApiErrorResponse::DisputeStatusValidationFailed { reason } => {
Self::InternalServerError
}