mistralclient.exceptions module

exception mistralclient.exceptions.IllegalArgumentException(message=None)

Bases: MistralClientException

code = 'ILLEGAL_ARGUMENT_EXCEPTION'
message = 'IllegalArgumentException occurred'
exception mistralclient.exceptions.MistralClientException(message='An unknown exception occurred')

Bases: Exception

Base Exception for Mistral client

To correctly use this class, inherit from it and define a ‘message’ and ‘code’ properties.

code = 'UNKNOWN_EXCEPTION'
message = 'An unknown exception occurred'