<s> """<STR_LIT>""" <EOL> from ib . lib import classmethod_ as classmethod <EOL> from ib . lib . overloading import overloaded <EOL> class AnyWrapperMsgGenerator ( object ) : <EOL> """<STR_LIT>""" <EOL> @ classmethod <EOL> @ overloaded <EOL> def error ( cls , ex ) : <EOL> """<STR_LIT>""" <EOL> return "<STR_LIT>" + ex <EOL> @ classmethod <EOL> @ error . register ( object , str ) <EOL> def error_0 ( cls , strval ) : <EOL> """<STR_LIT>""" <EOL> return strval <EOL> @ classmethod <EOL> @ error . register ( object , int , int , str ) <EOL> def error_1 ( cls , id , errorCode , errorMsg ) : <EOL> """<STR_LIT>""" <EOL> err = str ( id ) <EOL> err += "<STR_LIT>" <EOL> err += str ( errorCode ) <EOL> err += "<STR_LIT>" <EOL> err += errorMsg <EOL> return err <EOL> @ classmethod <EOL> def connectionClosed ( cls ) : <EOL> """<STR_LIT>""" <EOL> return "<STR_LIT>" </s>
