package main import ( "errors" "strings" ) var ( err_unsupported_database_type = errors.New("Unsupported database type; only \"postgres\" is currently supported") err_connection_handler_eof = errors.New("Connection handler encountered EOF") ) type err_local_recipients_not_found_t []string func (e *err_local_recipients_not_found_t) Error() string { return "Local recipients not found: " + strings.Join([]string(*e), ", ") }