It is not guaranteed, but very likely for these functions to fail due to role.  I accept that this is an issue for the current code.

I will reconsider how to format the message.  The exception message returned by the plcapi may be enough.