Welcome to the CHICKEN Scheme pasting service

http-session condition added by mario-goulart on Mon Sep 12 14:46:36 2011

--- http-session.scm    (revision 24712)
+++ http-session.scm    (working copy)
@@ -28,7 +28,12 @@
     (handle-exceptions
      exn
      (if error?
-         (error (conc "Invalid session ID: " sid))
+         (raise (make-composite-condition
+                 (make-property-condition
+                  'exn
+                  'message (conc "Invalid session ID: " sid))
+                 (make-property-condition
+                  'invalid-session)))
          #f)
      (hash-table-ref (session-table) sid)))

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
Which module provides `define-foreign-type'?
Visually impaired? Let me spell it for you (wav file) download WAV