wrap static method
Implementation
static LcpException wrap(dynamic e) {
if (e is LcpException) {
return e;
}
if (e is SocketException) {
return network(e);
}
return unknown;
}
static LcpException wrap(dynamic e) {
if (e is LcpException) {
return e;
}
if (e is SocketException) {
return network(e);
}
return unknown;
}