I want to add custom response codes to my HTTP response.
Like; 10001 -> prices should be lower than 999 Right now, I can only use internal response codes. Is there a way to use our custom HTTP response codes for our custom error texts?
if _, err := uuid.Parse(id); err != nil {
c.Response().Status = 4004
}