flow-go
flow-go copied to clipboard
Update error handling in Admin Server
⚠️ 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.