func NewInternalServerError(ctx echo.Context, causes interface{}, debug bool) error {

	restError := RestError{
		ErrStatus: http.StatusInternalServerError,
		ErrError:  InternalServerError.Error(),
		Timestamp: time.Now().UTC(),
	}
	if debug {
		restError.ErrMessage = causes
	}
	return ctx.JSON(http.StatusInternalServerError, restError)
}
// NewInternalServerError New Internal Server Error
NewInternalServerError New Internal Server Error
// NewInternalServerError New Internal Server Error
func NewInternalServerError(ctx echo.Context, causes interface{}, debug bool) error {
	restError := RestError{
		ErrStatus: http.StatusInternalServerError,
		ErrError:  InternalServerError.Error(),
		Timestamp: time.Now().UTC(),
	}
	if debug {
		restError.ErrMessage = causes
	}
	return ctx.JSON(http.StatusInternalServerError, restError)
}
func NewInternalServerError ( ctx echo . Context , causes interface { } , debug bool ) error { restError := RestError { ErrStatus : http . StatusInternalServerError , ErrError : InternalServerError . Error ( ) , Timestamp : time . Now ( ) . UTC ( ) , } if debug { restError . ErrMessage = causes } return ctx . JSON ( http . StatusInternalServerError , restError ) }
NewInternalServerError New Internal Server Error
NewInternalServerError New Internal Server Error