package config

import 

// UnsupportedDirective error.
type UnsupportedDirective struct {
	text string
}

// Error implements the error interface for unsupported directives.
func ( UnsupportedDirective) () string {
	return .text
}

// Invalid config error.
type Invalid struct {
	text string
}

// Error implements the error interface for invalid config error.
func ( Invalid) () string {
	return .text
}

// InvalidErrorf creates a new Invalid error.
func ( string,  ...interface{}) Invalid {
	return Invalid{
		text: fmt.Sprintf("invalid krb5 config "+, ...),
	}
}