Simplify error detail parsing
Simplify error detail parsing

Nice refactor ideas from @yuki24. I did end up deciding that I'd keep
the local because I think it's easier to read and also RuboCop was
complaining about the line length. :smile:

artsy/bearden,artsy/bearden,artsy/bearden,artsy/bearden