6b82a529fc
Settins are generated based on a secret data Change-Id: Ib4c25e720759694432e03796ae5d1b4f2f2a1a1b
16 lines
300 B
Go
16 lines
300 B
Go
package document
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
// ErrDocNotFound returned if desired document not found
|
|
type ErrDocNotFound struct {
|
|
Annotation string
|
|
Kind string
|
|
}
|
|
|
|
func (e ErrDocNotFound) Error() string {
|
|
return fmt.Sprintf("Document annotated by %s with Kind %s not found", e.Annotation, e.Kind)
|
|
}
|