GOffice.ErrorInfo¶
Fields¶
None
Methods¶
| class | new_from_errno() | 
| class | new_from_error_list(errors) | 
| class | new_str(msg) | 
| class | new_str_with_details(msg, details) | 
| class | new_str_with_details_list(msg, details) | 
| add_details(details) | |
| add_details_list(details) | |
| free() | |
| peek_details() | |
| peek_message() | |
| peek_severity() | |
| print_() | 
Details¶
- 
class GOffice.ErrorInfo¶
- 
classmethod new_from_errno()¶
- Return type: - GOffice.ErrorInfo
 - 
classmethod new_from_error_list(errors)¶
- Parameters: - errors ([ - GOffice.ErrorInfo]) – a list of- GOffice.ErrorInfoto add- Returns: - the newly created - GOffice.ErrorInfo- Return type: - GOffice.ErrorInfo- Creates a new - GOffice.ErrorInfofrom a list of existing- GOffice.ErrorInfoinstances to add to the message.
 - 
classmethod new_str(msg)¶
- Parameters: - msg ( - str) –- Return type: - GOffice.ErrorInfo
 - 
classmethod new_str_with_details(msg, details)¶
- Parameters: - msg (str) – error message
- details (GOffice.ErrorInfo) –GOffice.ErrorInfoto add
 - Returns: - the newly created - GOffice.ErrorInfo- Return type: - Creates a new - GOffice.ErrorInfofrom message and an existing- GOffice.ErrorInfoinstance to add to the message.
- msg (
 - 
classmethod new_str_with_details_list(msg, details)¶
- Parameters: - msg (str) – error message
- details ([GOffice.ErrorInfo]) – a list ofGOffice.ErrorInfoto add
 - Returns: - the newly created - GOffice.ErrorInfo- Return type: - Creates a new - GOffice.ErrorInfofrom message and a list of existing- GOffice.ErrorInfoinstances to add to the message.
- msg (
 - 
add_details(details)¶
- Parameters: - details ( - GOffice.ErrorInfo) –- GOffice.ErrorInfoto add- Adds an existing - GOffice.ErrorInfoinstance to self.
 - 
add_details_list(details)¶
- Parameters: - details ([ - GOffice.ErrorInfo]) – a list of- GOffice.ErrorInfoto add- Adds a list of existing - GOffice.ErrorInfoinstances to self.
 - 
free()¶
 - 
peek_details()¶
- Returns: - the newly details in self - Return type: - [ - GOffice.ErrorInfo]
 - 
peek_severity()¶
- Return type: - GOffice.Severity
 - 
print_()¶
 
- 
classmethod