Add type mismatch error

This commit is contained in:
Sasha Koshka 2024-12-08 16:12:54 -05:00
parent 860d083c11
commit 947cbc1440

View File

@ -2,10 +2,11 @@ package step
// Error enumerates errors common to this package.
type Error string; const (
ErrCircularInheritance Error = "Circular inheritance"
ErrFrontMatterMalformed Error = "Front matter is malformed"
ErrFrontMatterNeverClosed Error = "Front matter is never closed"
ErrFrontMatterDuplicateKey Error = "Duplicate key in front matter"
ErrCircularInheritance Error = "circular inheritance"
ErrFrontMatterMalformed Error = "front matter is malformed"
ErrFrontMatterNeverClosed Error = "front matter is never closed"
ErrFrontMatterDuplicateKey Error = "duplicate key in front matter"
ErrTypeMismatch Error = "type mismatch"
)
// Error fulfills the error interface.