Bug 1465328
Summary: | [RFE] Add a hierarchy of exceptions | ||
---|---|---|---|
Product: | [oVirt] ovirt-engine-sdk-ruby | Reporter: | Juan Hernández <juan.hernandez> |
Component: | RFEs | Assignee: | Juan Hernández <juan.hernandez> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Radim Hrazdil <rhrazdil> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.1.5 | CC: | amureini, bodnopoz, bugs, lsvaty, mgoldboi, oourfali |
Target Milestone: | ovirt-4.2.0 | Keywords: | FutureFeature |
Target Release: | 4.2.0.alpha4 | Flags: | rule-engine:
ovirt-4.2+
lsvaty: testing_plan_complete- mgoldboi: planning_ack+ rule-engine: devel_ack+ lsvaty: testing_ack+ |
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 4.2.0.alpha4 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-12-20 10:48:28 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Juan Hernández
2017-06-27 08:48:57 UTC
Also: OvirtaSDK4::UnauthorizedError - When the user isn't authorized. The authentication error should be raised when the SSO service responds with an error or when the API responds with 401. The proposed patch adds the following exception classes: AuthError - Raised when authentication of authorization fail. ConnectionError - Raised when the name of the server can’t be resolved, and when the server is down or unreachable. NotFoundError - Raised when the requested object doesn’t exist. TimeoutError - Raised when an operation times out. Verified that sdk raises specific exception classes proposed in Comment 2. SDK version 4.2.0.alpha4, engine 4.2.0-0.0.master.20171108151837.gita7de53e.el7.centos. This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017. Since the problem described in this bug report should be resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report. |