step/error.go

15 lines
449 B
Go

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"
)
// Error fulfills the error interface.
func (err Error) Error () string {
return string(err)
}