error codes to match the new hub client structure.