jaypipes / procession

Main Procession server
Apache License 2.0
2 stars 0 forks source link

starts to clean up error handling #82

Closed jaypipes closed 7 years ago

jaypipes commented 7 years ago

Adds a new pkg/errors package with standardized error messages and codes. Uses the grpc.status package to construct errors that grpc understands and transforms the organization list p7n command and associated server-side code to use the single pkg/errors:FORBIDDEN error added here.

Adds graceful error handling to organization and user p7n commands. In the process, also cleans up a number of p7n commands that were not respecting the quiet and verbose options.

Issue #52