PowerShell - Error Handling
How can you modify this script to handle both terminating and non-terminating errors?
try {
Get-Content 'file.txt'
} catch {
Write-Output 'Error occurred'
}