1c96db01ba
* better database error handling Change-Id: I28dbd69cf6c2fa268e02405521ff6e6c1a68a702 * missing comments added * missing comment added
18 lines
374 B
Go
18 lines
374 B
Go
// Copyright (C) 2018 Storj Labs, Inc.
|
|
// See LICENSE for copying information.
|
|
|
|
package dbx
|
|
|
|
//go:generate dbx.v1 golang -d sqlite3 -p dbx satellitedb.dbx .
|
|
//go:generate dbx.v1 schema -d sqlite3 satellitedb.dbx .
|
|
|
|
import (
|
|
"github.com/zeebo/errs"
|
|
)
|
|
|
|
func init() {
|
|
// catch dbx errors
|
|
c := errs.Class("satellitedb")
|
|
WrapErr = func(e *Error) error { return c.Wrap(e) }
|
|
}
|