bottin-ag/apierror/apierror.go
Victor Lacasse-Beaudoin dc72748fbe Implémenter route /v0/health
Ajouter error type si dbclient ou bottinclient ne sont pas implémentés

Ajouter echo.Group v0
2023-09-15 18:13:48 -04:00

8 lines
267 B
Go

// Package apierror defines error types that can be returned by the API server
package apierror
type ErrBottinOrDBNotImplemented struct{}
func (e *ErrBottinOrDBNotImplemented) Error() string {
return "Database client or agecem/bottin API client not implemented"
}