fix(smalltrip,problem): name NewInternalServerError instead of NewInternalError
This commit is contained in:
@@ -22,7 +22,7 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
func NewInternalError(err error, opts ...Option) InternalServerError {
|
func NewInternalServerError(err error, opts ...Option) InternalServerError {
|
||||||
return InternalServerError{
|
return InternalServerError{
|
||||||
RegisteredProblem: NewDetailed(http.StatusInternalServerError, err.Error(), opts...),
|
RegisteredProblem: NewDetailed(http.StatusInternalServerError, err.Error(), opts...),
|
||||||
Errors: newErrorTree(err).Errors,
|
Errors: newErrorTree(err).Errors,
|
||||||
|
|||||||
Reference in New Issue
Block a user