[errors] more error parsing

Handle case when "type" is not present in error. This shows up, for
example, in gql when a query is made without required parameters.
parent 764bd7fb
Pipeline #5557 failed with stage
in 0 seconds