Refine error handling on self hosted models form

What does this MR do and why?

refine the error handling on self hosted models form

  • add frontend validation for endpoint field to require https or http schema
  • update server errors to be consumed by frontend easily

References

#476686

Screenshots or screen recordings

Before After

How to set up and validate locally

Edited by Rinku C

Merge request reports

Loading