pub fn classify(err: Error) -> ApiErrorExpand description
Errors raised as SubmitError or AvailabilityError by a state implementation carry
semantic meaning; anything else is a failure the client cannot act on. Both transports classify
through here, so v1 and v2 cannot drift on what counts as a 404. gRPC has no gone code, so v2
reports a 410 as not_found.