Skip to content

Add Developer Error Simulation API (Random, Custom, Delay, Chaos)#26

Open
tabrez-rabbani wants to merge 3 commits intoankurdotio:mainfrom
tabrez-rabbani:feature/error-simulator-api
Open

Add Developer Error Simulation API (Random, Custom, Delay, Chaos)#26
tabrez-rabbani wants to merge 3 commits intoankurdotio:mainfrom
tabrez-rabbani:feature/error-simulator-api

Conversation

@tabrez-rabbani
Copy link
Copy Markdown

This PR introduces a Developer Error Simulation API to help frontend and mobile developers test real-world failure scenarios such as authentication errors, database failures, latency issues, and chaos engineering patterns.

Features added:

  • Random error generator with categories
  • Custom HTTP status code simulation
  • Latency simulation endpoint
  • Chaos mode with weighted probability distribution
  • Detailed documentation and usage examples

This module is educational and useful for testing UI error handling and retry mechanisms.

This contribution is part of my learning journey in Cohort 2.0, where I am currently studying full-stack development.

@tabrez-rabbani
Copy link
Copy Markdown
Author

@ankurdotio This is part of my Cohort 2.0 learning contribution. Would love your feedback!

@tabrez-rabbani tabrez-rabbani deleted the feature/error-simulator-api branch January 27, 2026 11:07
@tabrez-rabbani tabrez-rabbani restored the feature/error-simulator-api branch January 27, 2026 11:07
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.

1 participant