yera.tools.exceptions

Tool-related user-facing errors.

Symbols

class InvalidToolCredsArgumentError — Raised when ``creds=`` is not ``None``, a ``str``, or ``list[str]``.
class ToolDecoratorError — Raised when ``@tool`` is used with invalid arguments.

InvalidToolCredsArgumentError

Raised when creds= is not None, a str, or list[str].

ToolDecoratorError

Inherits: YeraError

Raised when @tool is used with invalid arguments.