Provide detailed information for cause of failure when attempting to create serverless functions

Problem to solve

When a user has an invalid or absent file (serverless.yml or .gitlab-ci.yml), we currently do not provide enough detail for the cause and the solution of the problem (only a general dialog with possible causes)

https://gitlab.com/gitlab-org/gitlab-ce/uploads/b3ebd4cd20a49ccc615475919278bd84/Screen_Shot_2018-12-26_at_1.44.17_PM.png

Target audience

Developers, operators

Further details

Proposal

  1. If a file is absent, simply note its absence in the dialog, nothing else.
  2. If a file format is incorrect, note which file and provide a link to docs that state the correct form for the file.

What does success look like, and how can we measure that?

Links / references

Assignee Loading
Time tracking Loading