Receive-WinSCPItemis a cmdlet from WinSCP PowerShell Wrapper Module
So please ask there.
Though I assume you can handle its errors as with any other PowerShell cmdlet.
Google for "powershell handle errors".
See for example the
catchconstruct used in all WinSCP .NET assembly PowerShell (not WinSCP PowerShell Wrapper Module) examples: