Add type mismatch error
This commit is contained in:
parent
860d083c11
commit
947cbc1440
9
error.go
9
error.go
@ -2,10 +2,11 @@ package step
|
|||||||
|
|
||||||
// Error enumerates errors common to this package.
|
// Error enumerates errors common to this package.
|
||||||
type Error string; const (
|
type Error string; const (
|
||||||
ErrCircularInheritance Error = "Circular inheritance"
|
ErrCircularInheritance Error = "circular inheritance"
|
||||||
ErrFrontMatterMalformed Error = "Front matter is malformed"
|
ErrFrontMatterMalformed Error = "front matter is malformed"
|
||||||
ErrFrontMatterNeverClosed Error = "Front matter is never closed"
|
ErrFrontMatterNeverClosed Error = "front matter is never closed"
|
||||||
ErrFrontMatterDuplicateKey Error = "Duplicate key in front matter"
|
ErrFrontMatterDuplicateKey Error = "duplicate key in front matter"
|
||||||
|
ErrTypeMismatch Error = "type mismatch"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Error fulfills the error interface.
|
// Error fulfills the error interface.
|
||||||
|
Loading…
Reference in New Issue
Block a user