Skip to main content
100%

Gist fdfeb2b6c1c7c936cff968552d66277f

✓ Published0🌍 Public
HHoffmannP
Last edited Jun 4, 2024
Created on Jun 4, 2024

This example visualizes the flow of a failed HTTP request within a Node.js application, tracking the error from its initial 403 response through the complete async call stack. The visualization uses a structured log-and-trace rendering approach, where each line of the stack trace is displayed as a sequential node in a vertical flow diagram. The code relies on axios for making the POST request to the `/api/v1/Challenges` endpoint and Node’s built-in async/await pattern to propagate the error through layers like `ChallengeClient`, `ChallengeController`, and `AccountController`. The screenshot shows the raw error object with its nested `config` and `requestId` metadata.

AI-generated description

Similar vizzes