Skip to content

FileNotFoundError

Raised when a referenced file cannot be found. This applies to both .prompty files and ${file:path} references in frontmatter.

---
title: FileNotFoundError
config:
  look: handDrawn
  theme: colorful
  class:
    hideEmptyMembersBox: true
---
classDiagram
    class FileNotFoundError {
        +string message
        +string path
    }
message: "Prompty file not found: ./chat.prompty"
path: ./chat.prompty
NameTypeDescription
messagestringHuman-readable error message
pathstringThe file path that could not be resolved