Exception handling can be used within coprocesses. However, any exception must be caught within the coprocess. In particular, it is not possible to pass an exception on to a calling coprocess. Since coexit uses longjmp, any pending exceptions in a coprocess will not be cleaned up after a call to coexit.
coexit
longjmp
Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.