notice

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

Version: 2.0.x

rasa.shared.exceptions

RasaException Objects

class RasaException(Exception)

Base exception class for all errors raised by Rasa Open Source.

RasaCoreException Objects

class RasaCoreException(RasaException)

Basic exception for errors raised by Rasa Core.

RasaXTermsError Objects

class RasaXTermsError(RasaException)

Error in case the user didn't accept the Rasa X terms.

InvalidParameterException Objects

class InvalidParameterException(RasaException, ValueError)

Raised when an invalid parameter is used.

YamlException Objects

class YamlException(RasaException)

Raised if there is an error reading yaml.

__init__

| __init__(filename: Optional[Text] = None) -> None

Create exception.

Arguments:

  • filename - optional file the error occurred in

YamlSyntaxException Objects

class YamlSyntaxException(YamlException)

Raised when a YAML file can not be parsed properly due to a syntax error.

FileNotFoundException Objects

class FileNotFoundException(RasaException, FileNotFoundError)

Raised when a file, expected to exist, doesn't exist.

FileIOException Objects

class FileIOException(RasaException)

Raised if there is an error while doing file IO.