@workflow/web patch Web: make error handling local/inline to where it's used, unify API error responses