extools.view.errors

exception extools.view.errors.ExViewComposeError(rotoid, compose_list=[], action_return=None, trigger_exc=None)[source]

Bases: extools.view.errors.ExViewError

Error raised while composing ExViews.

Parameters:
  • compose_list (list(str)) – list of rotoids the ExView is being composed with.
  • action_return (int) – return code from the View call.
  • trigger_exc (Exception) – the exception that triggered this one.
exception extools.view.errors.ExViewError(rotoid, action='', action_return=None, fargs=[], fkwargs={}, trigger_exc=None)[source]

Bases: extools.errors.ExToolsError

Generic error raised by an ExView.

Parameters:
  • rotoid (str) – RotoID of the ExView that raised.
  • action (string) – ExView action that raised.
  • action_return (int) – return code from the View call.
  • trigger_exc (Exception) – the exception that triggered this one.
exception extools.view.errors.ExViewFieldDoesNotExist(rotoid, field=None, order=None, action=None, action_return=None, trigger_exc=None)[source]

Bases: extools.view.errors.ExViewError

Error raised when a field does not exist in the view.

Parameters:
  • field (str) – field requested.
  • trigger_exc (Exception) – the exception that triggered this one.
exception extools.view.errors.ExViewIndexError(rotoid, kwargs=None, action='order', action_return=None, trigger_exc=None)[source]

Bases: extools.view.errors.ExViewError

Error raised when an invalid index is provided.

Parameters:
  • order (int) – index order requested.
  • trigger_exc (Exception) – the exception that triggered this one.
exception extools.view.errors.ExViewInterpolationError(rotoid, format_string, field, root_view, seek_to, trigger_exc=None, **kwargs)[source]

Bases: extools.view.errors.ExViewError

Error raised when string interpolation using ExViews fails.

Parameters:
  • rotoid (str) – rotoid of the view failing interpolation.
  • format_string (str) – string being interpolated
  • root_view (str) – the root view from which all fields can be found.
  • seek_to (dict) – seek to parameters for the first index of the root view.
exception extools.view.errors.ExViewInvalidOrder(rotoid, order=None, action_return=None, trigger_exc=None)[source]

Bases: extools.view.errors.ExViewError

Error raised while setting the index order.

Parameters:
  • order (int) – order requested.
  • action_return (int) – return code from the View call.
  • trigger_exc (Exception) – the exception that triggered this one.
exception extools.view.errors.ExViewOpenError(rotoid, action_return=None, trigger_exc=None)[source]

Bases: extools.view.errors.ExViewError

Error raised while opening ExView.

Parameters:
  • rotoid (str) – RotoID of the ExView that raised.
  • action_return (int) – return code from the View call.
  • trigger_exc (Exception) – the exception that triggered this one.
exception extools.view.errors.ExViewRecordDoesNotExist(rotoid, action, action_return=None, trigger_exc=None)[source]

Bases: extools.view.errors.ExViewError

Error raised while opening ExView.

Parameters:
  • rotoid (str) – RotoID of the ExView that raised.
  • action_return (int) – return code from the View call.
  • trigger_exc (Exception) – the exception that triggered this one.