Skip to content

Throw error on non-success response status #740

Closed Answered by mrlubos
tillprochaska asked this question in Q&A
Discussion options

You must be logged in to vote

@tillprochaska with the new clients, you now have an option to set throwOnError to true and that will modify the response shape to assume awaited data is always defined. Let me know if that doesn't help and we can reopen the issue!

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@tillprochaska
Comment options

@mrlubos
Comment options

@tillprochaska
Comment options

@andreiciceu
Comment options

Answer selected by mrlubos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants