diff --git a/network_interface.nim b/network_interface.nim index 8a0facf..3000b3e 100644 --- a/network_interface.nim +++ b/network_interface.nim @@ -8,7 +8,7 @@ type index*: cint flags*: cuint - NetworkInterfaceError* = object of ValueError + NetworkInterfaceError* = object of CatchableError Ifaddrs {.importc: "struct ifaddrs", pure, final, header: "".} = object