Currently, if we try to fetch the block (lets say 1,000,000) from the feeder we get 400 Bad Request which is a generic error. Meanwhile the feeder gateway shows:
{"code": "StarknetErrorCode.BLOCK_NOT_FOUND", "message": "Block number 1000000 was not found."}
We want the error message to reflect the response.
Problem
Currently, if we try to fetch the block (lets say 1,000,000) from the feeder we get
400 Bad Request
which is a generic error. Meanwhile the feeder gateway shows:We want the error message to reflect the response.
Advantages