From b6a41a168b2bc99b17e8009c9fe225065f781342 Mon Sep 17 00:00:00 2001 From: "Gustavo \"Guz\" L de Mello" Date: Wed, 30 Jul 2025 19:14:59 -0300 Subject: [PATCH] fix(smalltrip,problem): name NewInternalServerError instead of NewInternalError --- smalltrip/problem/500.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smalltrip/problem/500.go b/smalltrip/problem/500.go index 6c5f285..ef61c05 100644 --- a/smalltrip/problem/500.go +++ b/smalltrip/problem/500.go @@ -22,7 +22,7 @@ import ( "time" ) -func NewInternalError(err error, opts ...Option) InternalServerError { +func NewInternalServerError(err error, opts ...Option) InternalServerError { return InternalServerError{ RegisteredProblem: NewDetailed(http.StatusInternalServerError, err.Error(), opts...), Errors: newErrorTree(err).Errors,