mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-30 15:38:53 +00:00
parent
df34945991
commit
ef632145e9
12 changed files with 340 additions and 274 deletions
|
|
@ -9,7 +9,7 @@ import typing as t
|
|||
|
||||
|
||||
class ModuleHelperException(Exception):
|
||||
def __init__(self, msg: str, update_output: dict[str, t.Any] | None = None, *args, **kwargs):
|
||||
def __init__(self, msg: str, update_output: dict[str, t.Any] | None = None, *args, **kwargs) -> None:
|
||||
self.msg: str = msg or f"Module failed with exception: {self}"
|
||||
if update_output is None:
|
||||
update_output = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue