microsoft / bedrock-cli

The CLI for Bedrock
https://microsoft.github.io/bedrock-cli/commands/
MIT License
28 stars 12 forks source link

Add error codes in service create #4

Closed edaena closed 4 years ago

edaena commented 4 years ago

closes https://github.com/microsoft/bedrock/issues/1339

dennisseah commented 4 years ago

@edaena. I have amended your PR for 3 things.

  1. do not terminate the execute function in the middle of it. We throw error let the final catch block for the error chain
  2. Error messages need to have a statement in past tense on what had happen; followed by a statement in present tense to explain what the user can do to resolve it.
  3. remove unused constants in constants.ts

thanks