Change NetConnectNotAllowedError to inherit Error