feat: handle template build error
This commit is contained in:
9
internal/template/errors.go
Normal file
9
internal/template/errors.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package template
|
||||
|
||||
type errBadTemplate struct {
|
||||
message string
|
||||
}
|
||||
|
||||
func (err *errBadTemplate) Error() string {
|
||||
return err.message
|
||||
}
|
Reference in New Issue
Block a user