Skip to content

module: sdk.training.exceptions ​

Link to GitHub

Entities: ​

  1. WrongDatasetException
  2. WrongMethodException
  3. NoTrainingException
  4. GRPCException
  5. NoSuchModelException

Class WrongDatasetException ​

extends: Exception

is extended by: -

description ​

This exception can be thrown when _check_dataset method of the Training class is called. If the dataset is not compliant, this exception will be thrown, detailing what incompatibilities the dataset has.

Class WrongMethodException ​

extends: Exception

is extended by: -

description ​

This exception is thrown when you try to call Training methods with the wrong grpc method name.

Class NoTrainingException ​

This exception is thrown while calling the training field of the ServiceClient class and the training is not enabled in the service.

Class GRPCException ​

extends: RpcError

is extended by: -

description ​

This exception is thrown when there is an error in the grpc call.

Class NoSuchModelException ​

extends: Exception

is extended by: -

description ​

This exception is thrown when you try to call Training methods with the non-existent model id.