package result import "net/http" func ErrorHandler(err error) (int, any) { return http.StatusOK, Error(1001, err.Error()) }