Skip to content

handle-response: make etypecase more specific#45

Open
PuercoPop wants to merge 1 commit into
fukamachi:masterfrom
PuercoPop:patch-1
Open

handle-response: make etypecase more specific#45
PuercoPop wants to merge 1 commit into
fukamachi:masterfrom
PuercoPop:patch-1

Conversation

@PuercoPop
Copy link
Copy Markdown

Hi,
currently handle-response only tests if the response returned is a list. () satifies that constraint and an error is signaled down the line in handle-normal-response when trying to destructuring-bind the malformed response. It would be a good idea to fail earlier with a clear error. The type definitions could be placed in clack as they could be useful for other handlers and users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant