MCPcopy Index your code
hub / github.com/riverqueue/river / interpretError

Function interpretError

riverdriver/riversqlite/river_sqlite_driver.go:1439–1444  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

1437}
1438
1439func interpretError(err error) error {
1440 if errors.Is(err, sql.ErrNoRows) {
1441 return rivertype.ErrNotFound
1442 }
1443 return err
1444}
1445
1446type templateReplaceWrapper struct {
1447 dbtx dbsqlc.DBTX

Callers 15

ColumnExistsMethod · 0.70
ExecMethod · 0.70
IndexDropIfExistsMethod · 0.70
IndexExistsMethod · 0.70
IndexReindexMethod · 0.70
JobCancelMethod · 0.70
JobCountByAllStatesMethod · 0.70
JobDeleteMethod · 0.70
JobDeleteBeforeMethod · 0.70
JobDeleteManyMethod · 0.70
JobGetAvailableMethod · 0.70

Calls 1

IsMethod · 0.45

Tested by 1

TestInterpretErrorFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…