package data import "fmt" // KeyNotFoundError represents errors for cases where the requested key could not be found. type KeyNotFoundError struct { Key string } // Error returns the error message. func (e *KeyNotFoundError) Error() string { return fmt.Sprintf("Key not found: %s", e.Key) }