Files
pysim/pySim
Harald Welte eda408fba3 pySim.commands: Don't convert SwMatchError to ValueError
In the read and write command implementations, we used to catch
lower-layer exceptions (usually SwMatchError) and "translate" that into
a value error, only to add more information to the exception.  This
meant that higher-layer code could no longer detect this was actually
a SwMatchError exception type.

Let's instead use the add_note() method to amend the existing exception,
rather than raising a new one of different type.

Change-Id: Ic94d0fe60a8a5e15aade56ec418192ecf31ac5e7
2024-07-27 10:30:26 +02:00
..
2024-07-27 08:22:57 +00:00
2024-02-05 09:44:53 +01:00
2024-02-05 09:53:59 +01:00
2024-02-05 17:54:30 +01:00
2024-02-05 09:44:53 +01:00
2024-02-05 09:52:12 +01:00
2024-02-05 09:44:53 +01:00
2024-06-10 08:59:39 +02:00
2024-02-05 09:50:54 +01:00
2024-02-05 09:50:47 +01:00