Exception: OllamaChat::InvalidPathError

Inherits:
OllamaChatError show all
Defined in:
lib/ollama_chat.rb

Overview

Error raised when a path is outside the allowed whitelist.

The error carries the offending #path as an attribute so that callers can log or display the problematic location.

Instance Attribute Summary collapse

Instance Attribute Details

#pathString

The path that caused the error.

Returns:

  • (String)

    the current value of path



25
26
27
# File 'lib/ollama_chat.rb', line 25

def path
  @path
end