Skip to content

Add route-data to coerce-request compile failure#449

Open
Deraen wants to merge 1 commit intomasterfrom
feature/coerce-request-fail
Open

Add route-data to coerce-request compile failure#449
Deraen wants to merge 1 commit intomasterfrom
feature/coerce-request-fail

Conversation

@Deraen
Copy link
Copy Markdown
Member

@Deraen Deraen commented Nov 2, 2020

No description provided.

(handler (impl/fast-assoc request :parameters coerced) respond raise)))))
{})
(catch Exception e
(throw (ex-info (str "Coerce-request-middleware failed: " (.getMessage e))
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reitit/exception/fail! could be used instead?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't currently take cause as parameter.

@Deraen
Copy link
Copy Markdown
Member Author

Deraen commented Oct 30, 2025

This still makes sense

@opqdonut opqdonut moved this from 📬 Inbox to 👍 Could do in Metosin Open Source Backlog Oct 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 👍 Could do

Development

Successfully merging this pull request may close these issues.

3 participants