AttributeNameError#
Fully qualified name: isaacsim::common::exceptions::AttributeNameError
-
class AttributeNameError : public isaacsim::common::exceptions::IsaacSimException#
Raised when a caller references an attribute name that does not exist or is not accepted.
Public Functions
- explicit AttributeNameError(
- const std::string &attributeName,
- const std::optional<std::vector<std::string>> &validAttributeNames = std::nullopt,
Construct the exception for an invalid attribute name.
- Parameters:
attributeName – [in] The offending attribute name.
validAttributeNames – [in] A list of valid attribute names (optional).
- const std::vector<std::string> &getValidAttributeNames(
Return the valid attribute names.
-
const char *what() const noexcept override#
Return the human-readable description of the failure.