Skip to content

Structure

LeafError

LeafError reports errors during the template rendering process, wrapping more specific errors if necessary during Lexing and Parsing stages.
struct LeafError

Topics

Initializers

Instance Properties

  • column
    Source file column causing error
  • file
    Source file name causing error
  • function
    Source function causing error
  • line
    Source file line causing error
  • reason
    The specific reason for the error

Enumerations

  • LeafError.Reason
    Possible cases of a LeafError.Reason, with applicable stored values where useful for the type

Relationships

Conforms To

  • Swift.Error
  • Swift.Sendable
  • Swift.SendableMetatype