Lines Matching refs:YnlException
35 class YnlException(Exception): class
295 raise YnlException(f"Auto-scalar len payload be 4 or 8 bytes, got {len(self.raw)}")
479 raise YnlException(f"Netlink error: {nl_msg.error}")
530 raise YnlException(f"Netlink error: {nl_msg.error}")
599 raise YnlException(f'Multicast group "{mcast_name}" not present in the spec')
628 raise YnlException(f'Multicast group "{mcast_name}" not present in the family')
650 raise YnlException(
652 raise YnlException(f"Attribute '{name}' not defined in any attribute-set")
707 raise YnlException(f"Family '{self.yaml['name']}' not supported by the kernel") from err
807 raise YnlException(f"Space '{space}' has no attribute '{name}'") from err
848 raise YnlException(f'Unknown type for binary attribute, value: {value}')
874 raise YnlException(f"Unknown attribute-set '{msg_format.attr_set}'")
876 raise YnlException(f'Unknown type at {space} {name} {value} {attr["type"]}')
963 raise YnlException(f'Unknown {attr_spec["sub-type"]} with name {attr_spec["name"]}')
999 raise YnlException(f"No sub-message spec named {sub_msg} for {attr_spec.name}")
1005 raise YnlException(f"No message format for '{value}' in sub-message spec '{sub_msg}'")
1022 raise YnlException(f"Unknown attribute-set '{msg_format.attr_set}' "
1039 raise YnlException(f"Space '{space}' has no attribute "
1083 raise YnlException(f'Unknown {attr_spec["type"]} '
1100 raise YnlException(
1118 raise YnlException(f"Can't resolve sub-message of "
1123 raise YnlException(f"Can't dive into {attr.type} ({attr_spec['name']}) for extack")
1249 raise YnlException(f"Invalid MAC address format: {string}")
1253 raise YnlException(f"Display hint '{attr_spec.display_hint}' not implemented"