brails.exceptions module
This module defines the Brails exceptions.
- exception brails.exceptions.BrailsError(message='An error occurred in the BRAILS application')
Bases:
Exception
Custom exception for specific error cases in BRAILS.
- exception brails.exceptions.NotFoundError(type_of_thing, name, where=None, append=None)
Bases:
BrailsError
Exception raised when a required entity is not found.
This exception should be used for missing elements like classes, keys, or parameters.
Note: For missing files, use the built-in FileNotFoundError instead.