errorParser does not handle multiple errors in `detail`
errorParser
is a helper supposed to always return strings, but when given the following error:
{
"detail": ["You must be logged in."]
}
It returns ["You must be logged in."]
, which is an Array and not a String. This could cause TypeErrors and this is probably one of the easiest use cases of TypeScript.