Skip to content

Support error responses in MockApiClient

Refs https://gitlab.com/arkindex/requests/-/issues/491

Basically what @martin_teklia described in issue (I prefer the dedicated add_error_response with a specific status code)