configException function
Implementation
ArgumentException configException(String e) {
if (e.contains('Invalid checksum')) {
return const ArgumentException.badChecksum(
"The string invalid checksum value");
} else if (e.contains('Non-base')) {
return const ArgumentException.invalidBase58Char();
} else {
return ArgumentException.unExpected(e);
}
}