diff options
| author | Scott Shawcroft <scott@adafruit.com> | 2019-05-08 20:22:59 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-05-08 20:22:59 -0400 |
| commit | 9ce042ad07cabbba27f4db90f9c95d0b057b9f51 (patch) | |
| tree | 9afa5f6457c8511c24c95120170fb6fad3aa1850 /py/objexcept.c | |
| parent | 019254a9d2903ee09aa6657b69ad263d23e60103 (diff) | |
| parent | 8d9c2f3e9dcad5527078c6150d60a83a31c57bb1 (diff) | |
Merge pull request #1865 from terriko/mpy_error
Make status light flash blue for incompatible mpy (fixes #1369)
Diffstat (limited to 'py/objexcept.c')
| -rw-r--r-- | py/objexcept.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/py/objexcept.c b/py/objexcept.c index 0e9255db7..c33ada0d6 100644 --- a/py/objexcept.c +++ b/py/objexcept.c @@ -311,6 +311,7 @@ MP_DEFINE_EXCEPTION(Exception, BaseException) MP_DEFINE_EXCEPTION(UnicodeError, ValueError) //TODO: Implement more UnicodeError subclasses which take arguments #endif + MP_DEFINE_EXCEPTION(MpyError, ValueError) /* MP_DEFINE_EXCEPTION(Warning, Exception) MP_DEFINE_EXCEPTION(DeprecationWarning, Warning) |
