]> git.ipfire.org Git - thirdparty/samba.git/commit
pidl:Python: prepare code to avoid NTSTATUS/WERROR exceptions
authorStefan Metzmacher <metze@samba.org>
Tue, 28 Jan 2025 13:56:54 +0000 (14:56 +0100)
committerJule Anger <janger@samba.org>
Mon, 3 Feb 2025 18:51:14 +0000 (18:51 +0000)
commit2caf09bf9cdfa0745e4ec7e6a4a9391a9f982d95
treedbe0016aab3d6656f3aae73bb1a1a0515816938e
parente83db7bd63462863674b4c7c68ce7920802744f9
pidl:Python: prepare code to avoid NTSTATUS/WERROR exceptions

They are returned as additional result.

It means callers can look at all out params,
even if the status is an error.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14213

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
(cherry picked from commit 7ecaf1a779370ef3ecf189e51a5e668329fa24c7)
pidl/lib/Parse/Pidl/Samba4/Python.pm