-
Notifications
You must be signed in to change notification settings - Fork 602
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
enhancement - example stubbing API errors #214
Comments
Hi I'm not sure what's your point with that issue? |
I love this project - thanks for the time you spent on. It maybe worthwhile sending users to pre-canned search on github gist This serves a couple of purposes -
I didn't find a single script to encapsulate my needs - but mocking server side errors has now become biggest use case that every app should have - and I want a canonical example that can handle every edge case. Happy to contribute once I have more time. |
Thx for the feedback! You should be able to contribute to the wiki already (contributions, modifications and creating new pages in the wiki are open, no need for special rights or pull requests), so don't hesitate to enrich the existing Usage Examples page… or maybe even create a dedicated new wiki page for sharing such more complete code snippets like this! |
I wanted to share this swift 3 gist - I looked at the sample wiki but not sure how to edit it - feel free to rip off the content and drop it in. Maybe you need a swift sample page entirely. |
I've shared all your suggestions in this wiki page now, thanks for the suggestions 👍 |
Probably the most valuable part of stubbing is being able to recreate server side errors.
Here's a snippet of some -
The text was updated successfully, but these errors were encountered: