grape
grape copied to clipboard
error_response deprecation ?
There's a todo for deprecation (it's been a while) but there's no warn DEPRECATION. Since it's use internally, adding a warning will pop every single time.
I think we should not use it internally and add a proper warning DEPRECATION. What do you think ?
https://github.com/ruby-grape/grape/blob/0fa5216947816fff9d3cb37bab44144ee7d33701/lib/grape/middleware/error.rb#L62-L71
Makes sense, please.