Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add informative error handling #38

Open
jeffpatton1971 opened this issue Dec 24, 2020 · 0 comments
Open

Add informative error handling #38

jeffpatton1971 opened this issue Dec 24, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@jeffpatton1971
Copy link
Collaborator

This is a snip from the ado project

      $PSCmdlet.ThrowTerminatingError(
        [System.Management.Automation.ErrorRecord]::new(
          ([System.Management.Automation.ItemNotFoundException]"Not connected to Azure DevOps, please run Connect-AzDevOpsOrganization"),
          'Projects.Functions',
          [System.Management.Automation.ErrorCategory]::OpenError,
          $MyObject
        )
      )
@jeffpatton1971 jeffpatton1971 added the enhancement New feature or request label Dec 24, 2020
@jeffpatton1971 jeffpatton1971 self-assigned this Dec 24, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant