[plt-scheme] exception conventions

From: Neil W. Van Dyke (neil at neilvandyke.org)
Date: Wed Apr 23 04:07:52 EDT 2003

Update to my earlier example: I decided to expose the exception type
hierarchy in the names, and to otherwise abbreviate them:

  (define-struct (exn:httper                 exn)              ())
  (define-struct (exn:httper:proto           exn:httper)       ())
  (define-struct (exn:httper:proto:http      exn:httper:proto) (detail))
  (define-struct (exn:httper:proto:redirects exn:httper:proto) ())
  (define-struct (exn:httper:proto:transport exn:httper:proto) (sub-exn))
  (define-struct (exn:httper:status          exn:httper)       (code reason))
  (define-struct (exn:httper:uri             exn:httper)       (uri))

-- 
                                             http://www.neilvandyke.org/


Posted on the users mailing list.