Fix meaningless errors that sometimes occur in untitled workspaces
Change internal function error handling to throw error records instead of using the PSCmdlet.ThrowTerminatingError method. These error records will then be handled and rethrown by the caller with PSCmdlet.ThrowTerminatingError. This is to resolve some issues around errors being thrown in the wrong context.
ConvertTo-LocalizationString now prompts to create the resource file if it doesn't exist yet
Fix meaningless errors that sometimes occur in untitled workspaces
Change internal function error handling to
throw
error records instead of using thePSCmdlet.ThrowTerminatingError
method. These error records will then be handled and rethrown by the caller withPSCmdlet.ThrowTerminatingError
. This is to resolve some issues around errors being thrown in the wrong context.ConvertTo-LocalizationString
now prompts to create the resource file if it doesn't exist yet