Initial commit

This commit is contained in:
2024-12-05 13:15:22 -05:00
commit 91e72ac49e
17 changed files with 1517 additions and 0 deletions

14
error.go Normal file
View File

@@ -0,0 +1,14 @@
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)
}