[FIX] Removed Compilation errors & added Error handling support with no link state