mirror of
https://github.com/grassrootseconomics/cic-custodial.git
synced 2024-11-25 07:16:46 +01:00
12 lines
198 B
Go
12 lines
198 B
Go
|
package api
|
||
|
|
||
|
import (
|
||
|
"net/http"
|
||
|
|
||
|
"github.com/labstack/echo/v4"
|
||
|
)
|
||
|
|
||
|
func NewBadRequestError(message ...interface{}) *echo.HTTPError {
|
||
|
return echo.NewHTTPError(http.StatusBadRequest, message...)
|
||
|
}
|