11 lines
177 B
Go
11 lines
177 B
Go
package db
|
|
|
|
import "fmt"
|
|
|
|
type DatabaseInsertError struct {
|
|
message string
|
|
}
|
|
|
|
func (e *DatabaseInsertError) Error() string {
|
|
return fmt.Sprintf("%d - %s", e.arg, e.message)
|
|
}
|