package errors type ProjectEmptyError struct { name string } func (e *ProjectEmptyError) Error() string { return "Project " + e.name + " does not have any environments." } func NewProjectEmptyError(name string) *ProjectEmptyError { return &ProjectEmptyError{name: name} }