utilities

wield.declarative.properties.utilities

Aliases

Items from sub-modules exposed to import from this module

Functions

raise_attrerror_from_property(prop, obj, exc)

Because the exception calls some methods for better error reporting, those methods could be inside of unstable objects, so the call itself is wrapped

raise_msg_from_property(msg, t_exc, prop, obj)

try_name_file_line(func)

Trashes current exception

Details

raise_attrerror_from_property(prop, obj, exc)[source][github]

Because the exception calls some methods for better error reporting, those methods could be inside of unstable objects, so the call itself is wrapped

raise_msg_from_property(msg, t_exc, prop, obj, old_exc=None, if_from_file=None, **kwargs)[source][github]
try_name_file_line(func)[source][github]

Trashes current exception