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