//CreateErrorResponse is a helper function that creates a ResponseStruct
CreateErrorResponse is a helper function that creates a ResponseStruct
// CreateErrorResponse is a helper function that creates a ResponseStruct
func CreateErrorResponse(appError utils.AppError) *ResponseStruct {
	return &ResponseStruct{
		Status:  false,
		Data:    appError.Error(),
		Message: utils.ErrorDescriptions[appError],
	}
}
func CreateErrorResponse ( appError utils . AppError ) * ResponseStruct { return & ResponseStruct { Status : false , Data : appError . Error ( ) , Message : utils . ErrorDescriptions [ appError ] , } }
CreateErrorResponse is a helper function that creates a ResponseStruct
CreateErrorResponse is a helper function that creates a ResponseStruct