diff options
| author | Peter LaFosse <peter@vector35.com> | 2022-05-23 16:27:38 -0400 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2022-05-23 16:42:12 -0400 |
| commit | e18983f13a9b1356096745e98928b58ca10852c0 (patch) | |
| tree | de222389ce102c813db7765e9b68072a8c186267 /python | |
| parent | a8e650a8199577bfc5cbfb675a1150f47c569e54 (diff) | |
Esure parse_types api raise proper exceptions
Diffstat (limited to 'python')
| -rw-r--r-- | python/binaryview.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/binaryview.py b/python/binaryview.py index 2db75717..405afcc6 100644 --- a/python/binaryview.py +++ b/python/binaryview.py @@ -6203,7 +6203,7 @@ class BinaryView: >>> """ if not isinstance(text, str): - raise AttributeError("Source must be a string") + raise ValueError("Source must be a string") parse = core.BNTypeParserResult() try: |
