aboutsummaryrefslogtreecommitdiff
path: root/pkg/database/error_test.go
blob: fca19d573fc7c92ed96f5b5b33c12cf739d2580e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package database

import "testing"

func TestErrorsCoverage(t *testing.T) {
	initErr := InitError{}
	_ = initErr.Error()
	_ = initErr.Unwrap()
	migrationErr := MigrationError{}
	_ = migrationErr.Error()
	_ = migrationErr.Unwrap()
	passwordError := PasswordError{}
	_ = passwordError.Error()
	_ = passwordError.Unwrap()
	queryErr := QueryError{}
	_ = queryErr.Error()
	_ = queryErr.Unwrap()
	transactionErr := TransactionError{}
	_ = transactionErr.Error()
	_ = transactionErr.Unwrap()
}