Skip to content

Instantly share code, notes, and snippets.

@solussd
Created April 25, 2012 18:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save solussd/513d360c15bb1f15827a to your computer and use it in GitHub Desktop.
Save solussd/513d360c15bb1f15827a to your computer and use it in GitHub Desktop.
code
(def-rest-resource routes/filesubmission-by-id {:keys [id]}
(filesubmission/filesubmission-by-id id)
{:nil-handler (fn [] {:error "sdlkfjsdlfkj"})})
the error:
Exception in thread "main" java.lang.IllegalArgumentException: No value supplied for key: {:nil-handler (fn [] {:error "sdlkfjsdlfkj"})}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment