14 lines
342 B
Go
Raw Normal View History

2024-06-16 16:57:33 +02:00
package errors
import "fmt"
// KeywordNotImplemented error is created when we find a keyword without an implementation.
type KeywordNotImplemented struct {
Keyword string
}
// Error generates the string representation.
func (err *KeywordNotImplemented) Error() string {
return fmt.Sprintf("Keyword not implemented: '%s'", err.Keyword)
}