rbtools.utils.errors¶
Error classes for utility functions.
Exceptions
An error invoking an external text editor. |
|
|
An error attempting to match review requests. |
- exception rbtools.utils.errors.EditorError[source]¶
Bases:
Exception
An error invoking an external text editor.
- exception rbtools.utils.errors.MatchReviewRequestsError(message, api_error=None)[source]¶
Bases:
ValueError
An error attempting to match review requests.
New in version 3.1.
- api_error¶
The API error that triggered this exception, if any.
- __init__(message, api_error=None)[source]¶
Initialize the error.
- Parameters:
message (
unicode
) – The error message.api_error (
rbtools.api.errors.APIError
) – The API error that triggered this exception, if any.