mantil-io / mantil

Build your AWS Lambda-based Go backends quicker than ever
https://www.mantil.com
MIT License
110 stars 3 forks source link

Improve CLI communication - Error messages #57

Closed ksokolic closed 2 years ago

ksokolic commented 2 years ago

Output error messages should follow template: Error: Error description. Possible solution if we can provide any. Contact details for further support.

Error is written in red, other text is regular.

For Error messages where we are presenting usage/help it is enough to just write error description. For user error additional help about next steps and contact details are welcome.

Error_example
ianic commented 2 years ago
Screen Shot 2021-10-25 at 18 11 45