diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2026-07-09 15:36:08 -0230 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2026-07-09 15:36:08 -0230 |
| commit | 4853cad7499a953deb4a18bae2c14c1482007e42 (patch) | |
| tree | b6a7eaf332d4c89ba585f88e1a345d716df59ae1 /err.go | |
| download | exchange-4853cad7499a953deb4a18bae2c14c1482007e42.zip | |
rate
Diffstat (limited to 'err.go')
| -rw-r--r-- | err.go | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -0,0 +1,11 @@ +package exchange + +import "fmt" + +type errBadCurrency struct { + symbol string +} + +func (e errBadCurrency) Error() string { + return fmt.Sprintf("unknown currency symbol %q", e.symbol) +} |