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

Update APIErrorExceptionMapper to generate response for user onboard api error #408

Merged
merged 1 commit into from
Feb 9, 2024

Conversation

Lakshan-Banneheke
Copy link
Contributor

Purpose

The APIErrorExceptionMapper needs to map exceptions to responses when the api exception is being thrown by the user onboard api.

This PR updates the toResponse method to perform the mapping if the exception is an instance of org.wso2.carbon.identity.api.user.onboard.common.error.APIError

Related Issue

…on.identity.api.user.onboard.common.error.APIError
@jenkins-is-staging
Copy link

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/7842293980

@jenkins-is-staging
Copy link

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/7842293980
Status: failure

@Lakshan-Banneheke
Copy link
Contributor Author

PR builder has failed due to identity-rest-dispatcher not being supported in the PR builder

@kayathiri4 kayathiri4 merged commit 0eb7028 into wso2:master Feb 9, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants