(Feat): Initial Commit
This commit is contained in:
11
internal/api/httperrors/common.go
Normal file
11
internal/api/httperrors/common.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package httperrors
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"allaboutapps.dev/aw/go-starter/internal/types"
|
||||
)
|
||||
|
||||
var (
|
||||
ErrBadRequestZeroFileSize = NewHTTPError(http.StatusBadRequest, types.PublicHTTPErrorTypeZEROFILESIZE, "File size of 0 is not supported.")
|
||||
)
|
||||
Reference in New Issue
Block a user