GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [Enhancement] UserIsDeactivatedError · Issue #272 · code42/py42

[Enhancement] UserIsDeactivatedError #272

New issue
Copy link
New issue
Copy link
Open
Open
[Enhancement] UserIsDeactivatedError#272
Copy link
Labels
enhancementNew feature or request

Description

@antazoey
antazoey
opened on Jan 22, 2021
Issue body actions

Summary

Add a custom exception for when trying to reactivate device when the user is deactivated.

Right now, a bad request is thrown containing the string USER_IS_DEACTIVATED.

Proposed API

class UserIsDeactivatedError:
"""An error raised when trying to perform an operation on a deactivated user."""

Intended Use Case

Be able to know what I can't reactivate device via a custom exception

Activity

  1. antazoey
    added
    enhancementNew feature or request
    on Jan 22, 2021
  2. antazoey
    changed the title [-][Enhancement] YOUR IDEA![/-] [+][Enhancement] UserIsDeactivatedError[/+] on Jan 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.