Enumeration
LeafError.Reason
Possible cases of a LeafError.Reason, with applicable stored values where useful for the type
enum Reason
Topics
Enumeration Cases
LeafError.Reason.cachingDisabledAttempt to modify cache entries when caching is globally disabledLeafError.Reason.cyclicalReference(_:_:)Attempt to render an AST with cyclical external referencesLeafError.Reason.illegalAccess(_:)Attempted to access a template blocked for security reasonsLeafError.Reason.keyExists(_:)Attempt to insert a cache entry when one exists and replacing is not set to trueLeafError.Reason.lexerError(_:)Errors due to malformed template syntax or grammarLeafError.Reason.noTemplateExists(_:)Attempt to render a non-existant template Provide template nameLeafError.Reason.noValueForKey(_:)Attempt to modify cache for a non-existant keyLeafError.Reason.unknownError(_:)Errors only when no existing error reason is adequately clearLeafError.Reason.unresolvedAST(_:_:)Attempt to render a non-flat ASTLeafError.Reason.unsupportedFeature(_:)Errors from protocol adherents that do not support newer features
Relationships
Conforms To
Swift.SendableSwift.SendableMetatype