aboutsummaryrefslogblamecommitdiff
path: root/errors.go
blob: 1512b60abfcd6a2cc9135b1dcd7a4a69e4d45b5b (plain) (tree)
1
2
3
4
5
6
7
8
9



                

                 

 
     
                                                                                                                         
 





                                                                                              
package main

import (
	"errors"
	"fmt"
	"strings"
)

var (
	err_unsupported_database_type = errors.New("Unsupported database type; only \"postgres\" is currently supported")
)

type err_local_recipients_not_found_t []string

func (e *err_local_recipients_not_found_t) Error() string {
	return fmt.Sprintf("Local recipients not found: %s", strings.Join([]string(*e), ", "))
}