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

chore: add helper to catch API Errors #25

Merged
merged 1 commit into from
Feb 8, 2023

Conversation

azrod
Copy link
Member

@azrod azrod commented Feb 8, 2023

Description of your changes

Add Helper to catch API Errors and return Terraform Diagnostic

Helper tested on 2 datasources EdgeGateway and EdgeGateways

@azrod azrod linked an issue Feb 8, 2023 that may be closed by this pull request
@azrod azrod requested review from dmicheneau and eremid February 8, 2023 15:09
@azrod azrod force-pushed the 21-core-add-helper-catch-api-errors branch from 52667b6 to ad45c92 Compare February 8, 2023 15:13
@eremid eremid merged commit e383b6a into main Feb 8, 2023
@eremid eremid deleted the 21-core-add-helper-catch-api-errors branch February 8, 2023 15:14
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.

[Core]: Add Helper catch API errors
2 participants