Adding response class signature and sample JSON for error responses