[CM] Multiple catch syntax

Woody Douglass wdouglass at carnegierobotics.com
Tue Oct 19 06:30:13 PDT 2021


Hi all, i'm trying to catch multiple errors at once. i've tried a few
things, what is the correct syntax for the catch?

is it
```
(catch (or 'error-one 'error-two)
(lambda () #t)
(lambda (type args) #f))
```
or maybe
```
(catch '(error-one error-two)
(lambda () #t)
(lambda (type args) #f))
```

I'm just trying to determine if my syntax is wrong, or there's some
other problem in my code...

Thanks,
Woody




More information about the Cmdist mailing list