Note exn:break-continuation not usable with with-handlers.
This commit is contained in:
parent
4e3a7c420a
commit
2c76954108
|
@ -806,8 +806,11 @@ context when printing the error message.}
|
||||||
#:inspector #f]{
|
#:inspector #f]{
|
||||||
|
|
||||||
Raised asynchronously (when enabled) in response to a break request.
|
Raised asynchronously (when enabled) in response to a break request.
|
||||||
The @racket[continuation] field can be used by a handler to resume the
|
The @racket[continuation] field can be used to resume the interrupted
|
||||||
interrupted computation.}
|
computation in the @tech{uncaught-exception handler} or
|
||||||
|
@racket[call-with-exception-handler] (but @emph{not}
|
||||||
|
@racket[with-handlers] because it escapes from the exception context
|
||||||
|
before evaluating any predicates or handlers).}
|
||||||
|
|
||||||
@defstruct[(exn:break:hang-up exn:break) ()
|
@defstruct[(exn:break:hang-up exn:break) ()
|
||||||
#:inspector #f]{
|
#:inspector #f]{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user