Error response format inconsistent

Code reviewMedium20 minStripe style

Your task

Review these two TypeScript handlers from the same service. A client wants one error-handling code path for both.