MCPcopy
hub / github.com/usefathom/fathom / mapError

Function mapError

pkg/datastore/sqlstore/sqlstore.go:96–102  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

94}
95
96func mapError(err error) error {
97 if err == sql.ErrNoRows {
98 return ErrNoResults
99 }
100
101 return nil
102}

Callers 10

GetReferrerStatsMethod · 0.85
GetSiteMethod · 0.85
GetUserByEmailMethod · 0.85
GetSiteStatsMethod · 0.85
GetPageStatsMethod · 0.85
GetPageviewMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected