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

Expose error.details as a property on ArcGISRequestError and subclasses #1101

Open
patrickarlt opened this issue Apr 24, 2023 · 0 comments
Open
Assignees

Comments

@patrickarlt
Copy link
Contributor

Describe the problem

Currently if I wanted to get the details from an error (if they are present). I need to use error.response.details which isn't terribly intuitive.

Describe the proposed solution

Expose a new error.details property on ArcGISRequestError to expose the error.details property in the error response.

Alternatives considered

N/A

Additional Information

Highly relevant to upcoming Places service which puts a lot of information in error.details.

@patrickarlt patrickarlt self-assigned this Apr 24, 2023
BrunoCaimar added a commit to BrunoCaimar/arcgis-rest-js that referenced this issue Oct 24, 2024
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

No branches or pull requests

1 participant