Rename front matter errors to meta errors
This commit is contained in:
10
error.go
10
error.go
@@ -2,11 +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"
|
||||
ErrTypeMismatch Error = "type mismatch"
|
||||
ErrCircularInheritance Error = "circular inheritance"
|
||||
ErrMetaMalformed Error = "metadata is malformed"
|
||||
ErrMetaNeverClosed Error = "metadata is never closed"
|
||||
ErrMetaDuplicateKey Error = "duplicate key in front matter"
|
||||
ErrTypeMismatch Error = "type mismatch"
|
||||
)
|
||||
|
||||
// Error fulfills the error interface.
|
||||
|
||||
Reference in New Issue
Block a user