comments
This commit is contained in:
@@ -1,14 +1,20 @@
|
||||
|
||||
extension HBMustacheTemplate {
|
||||
/// Error return by `HBMustacheTemplate.parse`. Includes information about where error occurred
|
||||
public struct ParserError: Swift.Error {
|
||||
public let context: HBParser.Context
|
||||
public let error: Swift.Error
|
||||
}
|
||||
|
||||
/// Error generated by `HBMustacheTemplate.parse`
|
||||
public enum Error: Swift.Error {
|
||||
/// the end section does not match the name of the start section
|
||||
case sectionCloseNameIncorrect
|
||||
/// tag was badly formatted
|
||||
case unfinishedName
|
||||
/// was not expecting a section end
|
||||
case expectedSectionEnd
|
||||
/// set delimiter tag badly formatted
|
||||
case invalidSetDelimiter
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user