12 lines
427 B
Go
12 lines
427 B
Go
package template
|
|||
|
|
|
||
|
|
import "errors"
|
||
|
|
|
||
|
|
var (
|
||
|
|
ErrDictOddArgs = errors.New("dict requires an even number of arguments")
|
||
|
|
ErrDictKeyNotString = errors.New("dict keys must be strings")
|
||
|
|
ErrNoSuchTemplate = errors.New("no such template")
|
||
|
|
ErrWalk = errors.New("failed to walk templates")
|
||
|
|
ErrParse = errors.New("failed to parse templates")
|
||
|
|
ErrRender = errors.New("failed to render template")
|
||
|
|
)
|