This change performs template expansion both for root stack documents in addition to the transitive closure of dependencies. There are many ongoing design and implementation questions about how this should actually work; please see marapongo/mu#7 for a discussion of them.
27 lines
611 B
Go
27 lines
611 B
Go
// Copyright 2016 Marapongo, Inc. All rights reserved.
|
|
|
|
package errors
|
|
|
|
import (
|
|
"github.com/marapongo/mu/pkg/diag"
|
|
)
|
|
|
|
var ErrorCouldNotReadMufile = &diag.Diag{
|
|
ID: 150,
|
|
Message: "An IO error occurred while reading the Mufile: %v",
|
|
}
|
|
|
|
var ErrorIllegalMufileSyntax = &diag.Diag{
|
|
ID: 151,
|
|
Message: "A syntax error was detected while parsing the Mufile: %v",
|
|
}
|
|
|
|
var ErrorIllegalWorkspaceSyntax = &diag.Diag{
|
|
ID: 152,
|
|
Message: "A syntax error was detected while parsing workspace settings: %v",
|
|
}
|
|
|
|
var ErrorBadTemplate = &diag.Diag{
|
|
ID: 153,
|
|
Message: "A template error occurred: %v",
|
|
}
|