CL-EMB 0.3.0 - Generator loops
Released version 0.3.0 of CL-EMB. One ofthe new features are generator loops. On every iteration a
generator function is called.
See the announcement for more information.
Comments
*HTTP-ERROR-HANDLER* (defaults to NIL) which canNIL and TBNL takes over. The function could
(defun http-error-handler (code)
"Return content for error output of HTTP error CODE."
(case code
(404 (emb:execute-emb *fnf-error-template*
`(:code 404 :uri ,(tbnl:request-uri))))))
(setf tbnl:*http-error-handler* 'http-error-handler)