rasa.shared.exceptions
RasaException Objects
Base exception class for all errors raised by Rasa Open Source.
These exceptions result from invalid use cases and will be reported to the users, but will be ignored in telemetry.
RasaCoreException Objects
Basic exception for errors raised by Rasa Core.
InvalidParameterException Objects
Raised when an invalid parameter is used.
YamlException Objects
Raised if there is an error reading yaml.
__init__
Create exception.
Arguments:
filename
- optional file the error occurred in
YamlSyntaxException Objects
Raised when a YAML file can not be parsed properly due to a syntax error.
FileNotFoundException Objects
Raised when a file, expected to exist, doesn't exist.
FileIOException Objects
Raised if there is an error while doing file IO.
InvalidConfigException Objects
Raised if an invalid configuration is encountered.
UnsupportedFeatureException Objects
Raised if a requested feature is not supported.
SchemaValidationError Objects
Raised if schema validation via jsonschema
failed.
InvalidEntityFormatException Objects
Raised if the format of an entity is invalid.
create_from
Creates InvalidEntityFormatException
from JSONDecodeError
.
ConnectionException Objects
Raised when a connection to a 3rd party service fails.
It's used by our broker and tracker store classes, when they can't connect to services like postgres, dynamoDB, mongo.