flow-go icon indicating copy to clipboard operation
flow-go copied to clipboard

Update error handling in Admin Server

Open jordanschalm opened this issue 2 years ago • 0 comments

⚠️ This PR extends and depends on https://github.com/onflow/flow-go/pull/3369

This PR defines expected error types for admin command implementations, and updates existing Validator functions to make use of the validation sentinel error. It also updates the admin server to treat unexpected errors as an internal failure and log any unexpected errors.

jordanschalm avatar Oct 14 '22 11:10 jordanschalm