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

Various error handling #153

Closed
thedavecarroll opened this issue Oct 30, 2022 · 1 comment
Closed

Various error handling #153

thedavecarroll opened this issue Oct 30, 2022 · 1 comment
Assignees
Labels
bug Something isn't working CHANGELOG.4.Fixed CHANGELOG Entry Type
Milestone

Comments

@thedavecarroll
Copy link
Owner

Various error handling needs to be added or updated.

Get-ErrorCategory
HTTP Status Code: 403
Twitter Error Code: 453

New-TwitterErrorRecord
HTTP Status Code: 403
Set exception type, error category, and error message

Write-TwitterResponse
Create new error record for API v2 and HTTP status code of 403.

Add try/catch to:

  • Add-TwitterFriend
  • Remove-TwitterFriend
  • Set-TwitterBlockedUser
@thedavecarroll thedavecarroll added bug Something isn't working CHANGELOG.4.Fixed CHANGELOG Entry Type labels Oct 30, 2022
@thedavecarroll thedavecarroll added this to the Release 0.8.0 milestone Oct 30, 2022
@thedavecarroll thedavecarroll self-assigned this Oct 30, 2022
@thedavecarroll
Copy link
Owner Author

Closed by 9c6f6d3

@thedavecarroll thedavecarroll changed the title [BUG] Various error handling Various error handling Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CHANGELOG.4.Fixed CHANGELOG Entry Type
Projects
None yet
Development

No branches or pull requests

1 participant