ClientError base type struct -> string