init
This commit is contained in:
commit
2586161abd
49 changed files with 4171 additions and 0 deletions
10
internal/database/sql/errors.go
Normal file
10
internal/database/sql/errors.go
Normal file
|
@ -0,0 +1,10 @@
|
|||
package sql
|
||||
|
||||
import "emperror.dev/errors"
|
||||
|
||||
const (
|
||||
ErrRemoteBlog = errors.Sentinel("blog is remote")
|
||||
ErrUsernameTaken = errors.Sentinel("username or blog name is taken")
|
||||
|
||||
ErrNotFound = errors.Sentinel("not found")
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue