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)
Target audience
Developers, operators
Further details
Proposal
- If a file is absent, simply note its absence in the dialog, nothing else.
- If a file format is incorrect, note which file and provide a link to docs that state the correct form for the file.