The mistralclient.exceptions Module

exception mistralclient.exceptions.IllegalArgumentException(message=None)

Bases: mistralclient.exceptions.MistralClientException

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

Bases: exceptions.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'