langtest.errors.Warnings#

class Warnings#

Bases: object

Class for defining warning messages and associating them with codes.

This class allows you to define and associate warning messages with unique codes for easier identification and retrieval.

Usage:

Create instances of this class to define custom warning messages.

Example

class Warnings(metaclass=ErrorsWithCodes):

W000 = (“Please run Harness.run() before calling .generated_results().”) W001 = (“No configuration file was provided, loading default config.”) # …

__init__()#

Methods

W000()

W001()

W002()

W003()

W004()

W005()

W006()

W007()

W008()

W011()

W012()

W013()

W014()

W015()

W016()

W017()

W018()

W019()

W020()

W021()

W022()

W023()

__init__()