notice

This is documentation for Rasa Open Source Documentation v2.5.x, which is no longer actively maintained.
For up-to-date documentation, see the latest version (2.7.x).

Version: 2.5.x

rasa.core.exceptions

UnsupportedDialogueModelError Objects

class UnsupportedDialogueModelError(RasaCoreException)

Raised when a model is too old to be loaded.

Attributes:

  • message - explanation of why the model is invalid

__init__

| __init__(message: Text, model_version: Optional[Text] = None) -> None

Initialize message and model_version attributes.

AgentNotReady Objects

class AgentNotReady(RasaCoreException)

Raised if someone tries to use an agent that is not ready.

An agent might be created, e.g. without an interpreter attached. But if someone tries to parse a message with that agent, this exception will be thrown.

__init__

| __init__(message: Text) -> None

Initialize message attribute.

ChannelConfigError Objects

class ChannelConfigError(RasaCoreException)

Raised if a channel is not configured correctly.