Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 617 Bytes

result.md

File metadata and controls

9 lines (5 loc) · 617 Bytes

Response structure

Whenever we execute the ExecutePolicyAsync, we get a custom response back.

There are two important fields to have in consideration: data and error.

The data field represents the data you get from the API endpoint, with the type you provided when calling ExecutePolicyAsync.

The error field represents any errors that might have happened throughout the strategy execution. Errors expected include timeouts, exceeded retry attempts and performing requests while the circuit is open (circuit breaker).