enum TemplateError
Swift
enum TemplateError
Why a TemplateLibrary could not load its directory.
nprpc_swift/Sources/NPRPCWeb/TemplateLibrary.swift:89
Cases
case directoryUnreadable(String)
The directory does not exist or cannot be listed.
nprpc_swift/Sources/NPRPCWeb/TemplateLibrary.swift:91
case noTemplates(String)
The directory holds no .mustache files.
nprpc_swift/Sources/NPRPCWeb/TemplateLibrary.swift:93
case parseFailed(name: String, underlying: Error)
A template has a syntax error; name is its path without the extension.
nprpc_swift/Sources/NPRPCWeb/TemplateLibrary.swift:95
Properties
var description: String { get }
A message naming the directory or template at fault.
nprpc_swift/Sources/NPRPCWeb/TemplateLibrary.swift:98