foundry_dev_tools.errors.sql module#

Foundry SQL specific custom exceptions.

exception foundry_dev_tools.errors.sql.FoundrySqlQueryFailedError[source]#

Bases: FoundryAPIError

Initialize a Foundry API error.

Parameters:
  • response – requests Response where the API error occured

  • info – add additional information to this error

  • kwargs – error specific parameters which may contain more information about the error

message = 'Foundry SQL Query Failed.'#
__init__(response)[source]#

Initialize a Foundry API error.

Parameters:
  • response (requests.Response) – requests Response where the API error occured

  • info – add additional information to this error

  • kwargs – error specific parameters which may contain more information about the error

exception foundry_dev_tools.errors.sql.FoundrySqlQueryClientTimedOutError[source]#

Bases: FoundryAPIError

Initialize a Foundry API error.

Parameters:
  • response – requests Response where the API error occured

  • info – add additional information to this error

  • kwargs – error specific parameters which may contain more information about the error

message = 'The client timeout has been reached'#
exception foundry_dev_tools.errors.sql.FoundrySqlSerializationFormatNotImplementedError[source]#

Bases: FoundryAPIError

Initialize a Foundry API error.

Parameters:
  • response – requests Response where the API error occured

  • info – add additional information to this error

  • kwargs – error specific parameters which may contain more information about the error

message = 'Serialization formats other than arrow ipc not implemented in Foundry DevTools.'#