summaryrefslogtreecommitdiffstats
path: root/err.go
blob: 48c8b12764d556277b75954eb6684f61a5b5d1bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
package exchange

import "fmt"

type errBadCurrency struct {
	symbol string
}

func (e errBadCurrency) Error() string {
	return fmt.Sprintf("unknown currency symbol %q", e.symbol)
}