Support to add custom error classes based on HTTPError
Support to add custom error classes based on HTTPError: a task in swe-rebench-v2.1-rl-isolated-1k: SWE-rebench V2.1 RL, isolated grading (1k subset) (Harbor dataset). class NotAuthor(HTTPError): status code = 400 message = 'Only the author can perform this action!' extra data = { 'error code'…
The task
class NotAuthor(HTTPError): status_code = 400 message = 'Only the author can perform this action!' extra_data = { 'error_code': 1234, 'docs': 'http://example.com' } ```