mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
@@ -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 = {}
|
||||
|
||||
Reference in New Issue
Block a user