type Error interface {
error//ClientError returns an error string that is safe to show the client. ClientError() string
}
Error is a clientsafe error, that is an error that is safe to show to the client.
You don't want to expose sensitive-information inside of an error message.