From 947cbc1440dae0a65c358bf41802a8dc0d360435 Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Sun, 8 Dec 2024 16:12:54 -0500 Subject: [PATCH] Add type mismatch error --- error.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/error.go b/error.go index 80e039a..d84c1a3 100644 --- a/error.go +++ b/error.go @@ -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.