List of error code or error string returned by get_data and get_timeseries

Are there any document that demonstrates the list of error code or error string the Python Data API call get_data and get_timeseries may receive?

Best Answer

  • Alex Putkov.1
    Alex Putkov.1 ✭✭✭✭✭
    Answer ✓

    You can get the error code from the base class for exceptions. E.g.

    try:
    ek.get_data(...)
    except ek.EikonError as err:
    print(err.code)

    Does this help?

Answers