Add Snap.as error
This commit is contained in:
@@ -0,0 +1,10 @@
|
|||||||
|
package errors
|
||||||
|
|
||||||
|
import (
|
||||||
|
"github.com/writeas/impart"
|
||||||
|
"net/http"
|
||||||
|
)
|
||||||
|
|
||||||
|
var (
|
||||||
|
ErrInvalidFeature = impart.HTTPError{http.StatusBadRequest, "Not a valid feature."}
|
||||||
|
)
|
||||||
Reference in New Issue
Block a user