package postgres type Error string func (err Error) Error() string { return string(err) } const ( ErrVersionIDMismatch Error = "version ids does not match" ErrNoMessage Error = "no messages in queue" ErrNotImplemented Error = "not implemented" )