package model import "fmt" type NotFoundError struct { given_id int64 } func (e *NotFoundError) Error() string { return fmt.Sprintf("Could not find id %d", e.given_id) }