diff options
author | Dan Gudmundsson <[email protected]> | 2014-11-28 10:58:47 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2015-01-12 11:40:28 +0100 |
commit | 76075cb862d629a9624ab4db98ff876e261fc796 (patch) | |
tree | f1c3b4ffec8e9a495fa3554f0de1c98593f035ca /lib/common_test | |
parent | 2687287372f725dfb99ca6d712b214751c419cc2 (diff) | |
download | otp-76075cb862d629a9624ab4db98ff876e261fc796.tar.gz otp-76075cb862d629a9624ab4db98ff876e261fc796.tar.bz2 otp-76075cb862d629a9624ab4db98ff876e261fc796.zip |
Clean up get_unique_fieldname/2
get_unique_fieldname/2 would throw an exception that *all* callers
would catch and handle. Since all callers catch the exception, it
is much easier to return a special return value.
Also use the new error reporting style.
While we are at it, remove all catches of {asn1,Error} which
are no longer thrown.
Diffstat (limited to 'lib/common_test')
0 files changed, 0 insertions, 0 deletions