PyResult
class PyResult(result)
Bases: object
Interface representing the result of an operation.
- Parameters: result (IResult)
__init__(result)
Creates a new PyResult object.
Args: : result: A IResult object.
Returns: None.
- Parameters: result (IResult)
- Return type: None
Methods
__init__ (result) |
Creates a new PyResult object. |
---|
Attributes
errors |
Gets any exceptions encountered during the operation. |
---|---|
success |
Gets whether the operation was successful. |
property errors : Sequence[Exception]
Gets any exceptions encountered during the operation.
property success : bool
Gets whether the operation was successful.