Replies: 1 comment
-
You can now return app.transaction('/tx', c => {
return new Response('dang', { status: 400 })
}) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently
app.transaction
requires aTransactionResponse
return value. If a request fails validation ie if input text is below a certain value or if a query string is invalid an error response should be returned instead of a brokenTransactionResponse
.Beta Was this translation helpful? Give feedback.
All reactions