Fix a bug: ClientError __init__() needs 3 arguments