exceptions module

This module defines custom exceptions used in the PLAST (Plasmid Search Tool) system.

exception plast.exceptions.DataLoadingError(message='')

Bases: Exception

Exception raised for errors in the data loading process.

Parameters:

message (str) – Error message describing the loading issue.

exception plast.exceptions.NotFoundError(message='')

Bases: Exception

Exception raised when a requested item is not found.

Parameters:

message (str) – Error message describing the missing item.

exception plast.exceptions.BadToken(message='')

Bases: Exception

Exception raised for invalid query tokens.

Parameters:

message (str) – Error message describing the bad token.