Pim Schellart | 5a7d17f | 2016-06-17 17:35:59 -0400 | [diff] [blame] | 1 | Can we catch a MyException? |
| 2 | MyException : this error should go to a custom type |
| 3 | |
| 4 | Can we translate to standard Python exceptions? |
| 5 | RuntimeError : this error should go to a standard Python exception |
| 6 | |
| 7 | Can we handle unknown exceptions? |
| 8 | RuntimeError : Caught an unknown exception! |
| 9 | |
| 10 | Can we delegate to another handler by rethrowing? |
| 11 | MyException : this error is rethrown |
| 12 | |
| 13 | Can we fall-through to the default handler? |
| 14 | RuntimeError : this error should fall through to the standard handler |
| 15 | |