Result kind for exception processing.
Unit
ETypes
Syntax
Code (Delphi)
|
TSendResult = (
srSent = S_OK,
srBugClosed = S_FALSE,
srBugReopen = $00000002,
srNoExceptionInfo = S_NONE,
srRestart = E_RESTART,
srCancelled = E_CANCELLED,
srUnknownError = E_UNEXPECTED,
srUnsupportedSender = E_NOINTERFACE,
srConnectionError = E_CONNECTION_REFUSED,
srObsoleteVersion = E_OBSOLETE,
srInvalidLogin = E_LOGON_FAILED,
srInvalidSearch = E_INVALID_SEARCH,
srInvalidSelection = E_INVALID_SELECTION,
srInvalidRead = E_INVALID_READ,
srInvalidInsert = E_INVALID_INSERT,
srInvalidModify = E_INVALID_MODIFY
);
|
Members
srBugClosed
|
[SUCCESS] Exception was processed without errors. Sending method is set up, bug report was sent succcessfully and (most importantly) send method discovered that this exception is marked as "Fixed" in the target bug tracker.
|
srBugReopen
|
[SUCCESS] Exception was processed without errors. Sending method is set up, bug report was sent succcessfully and (most importantly) send method discovered that this exception is marked as "Fixed" in the target bug tracker, but the report was send anyway (ticket was reopened).
|
srCancelled
|
[FAILURE] Exception processing was cancelled by user via dialog.
|
srConnectionError
|
[FAILURE] Network connection error. This includes DNS errors.
|
srInvalidInsert
|
[FAILURE] There was error when creating (opening) new case (ticket). For non-bug trackers methods this means error during content sending.
|
srInvalidLogin
|
[FAILURE] There was error during log in stage. Most common reason is wrong login/password pair.
|
srInvalidModify
|
[FAILURE] There was error when modifying existing case (ticket). Applicable only for bug trackers.
|
srInvalidRead
|
[FAILURE] There was error during reading project or case options. Possible access denied error?
|
srInvalidSearch
|
[FAILURE] There was error during project search. Reasons may be access denied or project was removed. Typically this is applicable only for bug trackers.
|
srInvalidSelection
|
[FAILURE] There was error during selecting project (making project active). This value is used rarely, most often it's set by web-browser access methods.
|
srNoExceptionInfo
|
[SUCCESS] There is no active exception. Nothing to do.
|
srObsoleteVersion
|
[FAILURE] Project version is obsolete. Bug reports are no longer required, submission is closed.
|
srRestart
|
[FAILURE] Exception processing must be restarted. This value is typically used to switch between dialogs and handlers.
|
srSent
|
[SUCCESS] Exception was processed without errors. If sending is set up - then bug report was sent succcessfully.
|
srUnknownError
|
[FAILURE] Common error code. It's used when no other code can be used.
|
srUnsupportedSender
|
[FAILURE] Unknown sender class. It's either wrong class name specified or sender class wasn't registered.
|
|
Remarks
This value indicate result of exception's processing. There are 3 success codes (Send/BugClosed/NoExceptionInfo) and multiple error (failure) codes.
Success codes indicate that exception was processed successfully. "No exception to process/handle" is also considered as success.
Failure codes indicate that there was some kind of a error during exception processing. Restart and cancelling are considered as failures (however, often there are special cases to handle these codes).
UnknownError code is most general failure code. It's used when other codes can not be used.
See also
Send feedback...
|
Build date: 2024-09-30
Last edited: 2024-09-30
|
PRIVACY STATEMENT
The documentation team uses the feedback submitted to improve the EurekaLog documentation.
We do not use your e-mail address for any other purpose.
We will remove your e-mail address from our system after the issue you are reporting has been resolved.
While we are working to resolve this issue, we may send you an e-mail message to request more information about your feedback.
After the issues have been addressed, we may send you an email message to let you know that your feedback has been addressed.
Permanent link to this article: https://www.eurekalog.com/help/eurekalog/topic_type_etypes_tsendresult.php
|
|