pub fn error_code(error: &ServerError) -> Option<&str>
Read extensions.code off a server error, if any.
extensions.code